fix wrong variable
This commit is contained in:
parent
6772fa2711
commit
54bc64e337
2
coin.rb
2
coin.rb
@ -105,7 +105,7 @@ def give_coin(event)
|
||||
increment_coin(event.message.author.id, coin_amount)
|
||||
increment_coin(event.user.id, -coin_amount)
|
||||
|
||||
event.respond "How nice! <@#{event.message.author.id}> has received #{plural('coin', coins)} from <@#{event.user.id}>!"
|
||||
event.respond "How nice! <@#{event.message.author.id}> has received #{plural('coin', coin_amount)} from <@#{event.user.id}>!"
|
||||
end
|
||||
|
||||
bot.message(in: Integer(ENV['BOT_CHANNEL'])) do |event|
|
||||
|
Loading…
Reference in New Issue
Block a user