From 3c3815defb9b2287340f11b946981f04b78a4d6b Mon Sep 17 00:00:00 2001 From: mud mud Date: Tue, 9 May 2023 21:39:12 +0000 Subject: [PATCH] FIX AWFUL BUG --- coin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin.rb b/coin.rb index 524febe..8b5d237 100644 --- a/coin.rb +++ b/coin.rb @@ -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