mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +00:00
Fixed spelling mistake
This commit is contained in:
parent
21654c8fd9
commit
9bb33f78c6
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ const settings = definePluginSettings({
|
||||||
await DataStore.set("bypassdnd", bypasses);
|
await DataStore.set("bypassdnd", bypasses);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
allowOutsideOfDM: {
|
allowOutsideOfDm: {
|
||||||
type: OptionType.BOOLEAN,
|
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)",
|
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 (bypasses.users.includes(message.author.id)) {
|
||||||
if (channelId === await PrivateChannelsStore.getOrEnsurePrivateChannel(message.author.id)) {
|
if (channelId === await PrivateChannelsStore.getOrEnsurePrivateChannel(message.author.id)) {
|
||||||
await showUserNotification(message);
|
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);
|
await showChannelNotification(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue