summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discordjs/src/index.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/discordjs/src/index.mjs b/discordjs/src/index.mjs
index baced9d..f1c942c 100644
--- a/discordjs/src/index.mjs
+++ b/discordjs/src/index.mjs
@@ -88,7 +88,8 @@ const messageAction = async (message, ctx) => {
(ctx === SYMBOL_FOR_CREATE && shouldReplyByTimestamp) ||
shouldReplyByCounter ||
specialChannels.includes(message.channelId) ||
- message.guild == null
+ message.guild == null ||
+ message.mentions.has(client.user)
);
if (shouldReply) {