diff --git a/bot.rb b/bot.rb index 5f69fb0..16b4d56 100644 --- a/bot.rb +++ b/bot.rb @@ -64,7 +64,7 @@ bot.message(in: Integer(ENV['SENTENCE_CHANNEL'])) do |event| if $sentence.empty? next end - event << "Congratulations, your sentence is: #{$sentence.values.join(" ").}" + event << "Congratulations, your sentence is: #{$sentence.values.join(" ")}." $sentence.clear next end