From e26d385aed477b9804366a02361287fdc854b1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 13 Feb 2023 14:24:59 +0300 Subject: [PATCH] patch incorrect string interp --- bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.rb b/bot.rb index 4417a03..cd5a7c3 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.message.content}" + event << "Congratulations, your sentence is: #{$sentence.values.join(" ")}#{event.message.content}" $sentence.clear next end