patch incorrect string interp

This commit is contained in:
yagich committed 2023-02-13 14:24:59 +03:00
1 parent 5af24f2f02
commit e26d385aed
1 file changed
+1 -1
+1 -1
View File
@@ -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