From 0e6f19ff6724b192d66c7e7b20ef8a997069c361 Mon Sep 17 00:00:00 2001 From: Inbestigator Date: Wed, 6 Mar 2024 09:12:55 -0800 Subject: [PATCH] =?UTF-8?q?Consistency=20=F0=9F=91=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/bypassDND/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/bypassDND/index.tsx b/src/plugins/bypassDND/index.tsx index 2ccd0cc5c..dd98acc2d 100644 --- a/src/plugins/bypassDND/index.tsx +++ b/src/plugins/bypassDND/index.tsx @@ -113,9 +113,9 @@ const settings = definePluginSettings({ await DataStore.set("bypassdnd", bypasses); }, }, - allowOutsideOfDm: { + allowOutsideOfDms: { type: OptionType.BOOLEAN, - description: "Allow selected users to bypass DND outside of DM too (acts like a channel/guild bypass, but it's for all messages sent by the selected users)", + description: "Allow selected users to bypass DND outside of DMs too (acts like a channel/guild bypass, but it's for all messages sent by the selected users)", } }); @@ -154,7 +154,7 @@ export default definePlugin({ if (bypasses.users.includes(message.author.id)) { if (channelId === await PrivateChannelsStore.getOrEnsurePrivateChannel(message.author.id)) { await showUserNotification(message); - } else if ((message.content.includes(`<@${currentUser.id}>`) || message.mentions.some(mention => mention.id === currentUser.id)) && settings.store.allowOutsideOfDm) { + } else if ((message.content.includes(`<@${currentUser.id}>`) || message.mentions.some(mention => mention.id === currentUser.id)) && settings.store.allowOutsideOfDms) { await showChannelNotification(message); } }