fix wrong variable

This commit is contained in:
mud mud 2023-02-14 12:29:59 +01:00
parent 6772fa2711
commit 54bc64e337
Signed by: mud
GPG Key ID: D29C9385CC54F61C

View File

@ -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|