diff --git a/coin.rb b/coin.rb index 60750ac..17d3fef 100644 --- a/coin.rb +++ b/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 a coin from <@#{event.user.id}>!" + event.respond "How nice! <@#{event.message.author.id}> has received #{plural('coin', coins)} from <@#{event.user.id}>!" end bot.message(in: Integer(ENV['BOT_CHANNEL'])) do |event|