Compare commits
No commits in common. "122447095ba607a2698db0c6813988552bb54f76" and "e75ac68a572647702eca079bbdfe7525ee028a85" have entirely different histories.
122447095b
...
e75ac68a57
2
bot.rb
2
bot.rb
@ -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 ['?', '!', '.', '...'].include? event.message.content
|
if event.message.content == "."
|
||||||
if $sentence.empty?
|
if $sentence.empty?
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user