From 88fdf4e7b9c9b5f46317726e9f3343563be32433 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sun, 13 Aug 2023 20:44:51 +0300 Subject: [PATCH] invert --- structure/commands/CannedReply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/commands/CannedReply.js b/structure/commands/CannedReply.js index cf047dc..5afb452 100644 --- a/structure/commands/CannedReply.js +++ b/structure/commands/CannedReply.js @@ -29,7 +29,7 @@ class CannedReply extends Command { const list = Object.entries(this.client.modmail.replies); let str = ''; - if (second?.toLowerCase() === '-dm') channel = await message.author.createDM(); + if (second?.toLowerCase() !== '-here') channel = await message.author.createDM(); // eslint-disable-next-line no-shadow for (const [ name, content ] of list) { const substr = `**${name}:** ${content}\n`;