Skip to content

Instantly share code, notes, and snippets.

@mekb-turtle
Created December 1, 2023 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mekb-turtle/f466dd141c7a3ec6fa6089657c112af8 to your computer and use it in GitHub Desktop.
Save mekb-turtle/f466dd141c7a3ec6fa6089657c112af8 to your computer and use it in GitHub Desktop.
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