FIX AWFUL BUG
This commit is contained in:
parent
06d44e564f
commit
3c3815defb
2
coin.rb
2
coin.rb
@ -74,7 +74,7 @@ def get_coin(event, amt = 1)
|
|||||||
# update score
|
# update score
|
||||||
author = event.methods.include?(:author) ? event.author : event.user
|
author = event.methods.include?(:author) ? event.author : event.user
|
||||||
|
|
||||||
if $coin_state_active
|
if $coin_state_active != 0
|
||||||
if author.bot_account?
|
if author.bot_account?
|
||||||
event.respond "Bots don't get coins!"
|
event.respond "Bots don't get coins!"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user