Created
December 1, 2023 04:19
-
-
Save mekb-turtle/f466dd141c7a3ec6fa6089657c112af8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/bot.js b/src/bot.js | |
index ce523a4..716f3da 100644 | |
--- a/src/bot.js | |
+++ b/src/bot.js | |
@@ -171,7 +171,7 @@ async function handleMessage(message) { | |
if (reply.author.id != client.user.id) return; | |
if (messages[channelID] == null) return; | |
if ((context = messages[channelID][reply.id]) == null) return; | |
- } else if (message.type != MessageType.Default || (message.guild && !message.content.match(myMention))) { | |
+ } else if (message.type != MessageType.Default) { | |
return; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment