patch incorrect string interp

This commit is contained in:
Lera Elvoé 2023-02-13 14:24:59 +03:00
parent 5af24f2f02
commit e26d385aed
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc

2
bot.rb
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