Update 'coin.rb'
This commit is contained in:
parent
56f54bed6a
commit
a9a313aa02
1
coin.rb
1
coin.rb
@ -65,7 +65,6 @@ bot.message(in: Integer(ENV['BOT_CHANNEL'])) do |event|
|
|||||||
end
|
end
|
||||||
|
|
||||||
bot.message(content: 'GET COIN' ) do |event|
|
bot.message(content: 'GET COIN' ) do |event|
|
||||||
next if event.author.role? 'robot friend'
|
|
||||||
# update score
|
# update score
|
||||||
if coin_state_active
|
if coin_state_active
|
||||||
if event.author.bot_account?
|
if event.author.bot_account?
|
||||||
|
Loading…
Reference in New Issue
Block a user