From 9bb33f78c64a00b3c80482ddb4f2165f99a6d635 Mon Sep 17 00:00:00 2001 From: Inbestigator Date: Wed, 6 Mar 2024 09:09:43 -0800 Subject: [PATCH] Fixed spelling mistake --- src/plugins/bypassDND/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/bypassDND/index.tsx b/src/plugins/bypassDND/index.tsx index cc22feeb7..92520cdc3 100644 --- a/src/plugins/bypassDND/index.tsx +++ b/src/plugins/bypassDND/index.tsx @@ -113,7 +113,7 @@ const settings = definePluginSettings({ await DataStore.set("bypassdnd", bypasses); }, }, - allowOutsideOfDM: { + allowOutsideOfDm: { type: OptionType.BOOLEAN, description: "Allow selected users to send notifications outside of DM (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.allowOutsideOfDm) { await showChannelNotification(message); } }