Update 'coin.rb'

This commit is contained in:
mud mud 2023-02-24 23:10:24 +00:00
parent 54bc64e337
commit b3e84736dc

View File

@ -84,7 +84,7 @@ end
def give_coin(event) def give_coin(event)
reactor_coins = get_coin_count(event.user.id) reactor_coins = get_coin_count(event.user.id)
if reactor_coins == 0 if reactor_coins <= 0
event.respond("Nice gesture, <@#{event.user.id}>, but you're broke! To get more coins, type the words `GET COIN` whenever I post the coin event message! But be quick, your friends are trying their best to get it before you do!") event.respond("Nice gesture, <@#{event.user.id}>, but you're broke! To get more coins, type the words `GET COIN` whenever I post the coin event message! But be quick, your friends are trying their best to get it before you do!")
return return
end end