forked from mud/bankerbot-rb
Merge pull request 'fuck off bots' (#1) from yagich/bankerbot-rb:feat/fuck-off-bots into main
Reviewed-on: mud/bankerbot-rb#1
This commit is contained in:
commit
56f54bed6a
3
coin.rb
3
coin.rb
@ -68,6 +68,9 @@ bot.message(content: 'GET COIN' ) do |event|
|
||||
next if event.author.role? 'robot friend'
|
||||
# update score
|
||||
if coin_state_active
|
||||
if event.author.bot_account?
|
||||
event.respond "Bots don't get coins!"
|
||||
end
|
||||
coin_state_active = false
|
||||
if(rand(100) == 47)
|
||||
hyper_coin_amount = rand(100)
|
||||
|
Loading…
Reference in New Issue
Block a user