Compare commits

...

2 Commits

2
bot.rb
View File

@ -60,7 +60,7 @@ bot.reaction_remove do |event|
end end
bot.message(in: Integer(ENV['SENTENCE_CHANNEL'])) do |event| bot.message(in: Integer(ENV['SENTENCE_CHANNEL'])) do |event|
if event.message.content == "." if ['?', '!', '.', '...'].include? event.message.content
if $sentence.empty? if $sentence.empty?
next next
end end