FIX AWFUL BUG

This commit is contained in:
mud mud 2023-05-09 21:39:12 +00:00
parent 06d44e564f
commit 3c3815defb

View File

@ -74,7 +74,7 @@ def get_coin(event, amt = 1)
# update score
author = event.methods.include?(:author) ? event.author : event.user
if $coin_state_active
if $coin_state_active != 0
if author.bot_account?
event.respond "Bots don't get coins!"
end