forked from mud/bankerbot-rb
Update 'coin.rb'
This commit is contained in:
parent
54bc64e337
commit
b3e84736dc
2
coin.rb
2
coin.rb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user