Merge pull request 'Feature | Add Support for More Punctuation Characters' (#3) from mud/potomark-bot-rb:feature/punctuation-sentence into main

Reviewed-on: yagich/potomark-bot-rb#3
This commit is contained in:
yagich committed 2023-02-13 11:19:46 +00:00
commit 122447095b
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ bot.reaction_remove do |event|
end
bot.message(in: Integer(ENV['SENTENCE_CHANNEL'])) do |event|
if event.message.content == "."
if ['?', '!', '.', '...'].include? event.message.content
if $sentence.empty?
next
end