mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +00:00
Shortbread
This commit is contained in:
parent
e1b75bdb57
commit
1e462cc187
1 changed files with 3 additions and 9 deletions
|
@ -58,27 +58,21 @@ const settings = definePluginSettings({
|
|||
description: "Guilds to let bypass (notified when pinged anywhere in guild)",
|
||||
default: "",
|
||||
placeholder: "Separate with commas",
|
||||
onChange: async function (value) {
|
||||
settings.store.guilds = value.replace(/\s/g, "").split(",").filter(id => id.trim() !== "").join(", ");
|
||||
}
|
||||
onChange: value => settings.store.guilds = value.replace(/\s/g, "").split(",").filter(id => id.trim() !== "").join(", ")
|
||||
},
|
||||
channels: {
|
||||
type: OptionType.STRING,
|
||||
description: "Channels to let bypass (notified when pinged in that channel)",
|
||||
default: "",
|
||||
placeholder: "Separate with commas",
|
||||
onChange: async function (value) {
|
||||
settings.store.channels = value.replace(/\s/g, "").split(",").filter(id => id.trim() !== "").join(", ");
|
||||
}
|
||||
onChange: value => settings.store.channels = value.replace(/\s/g, "").split(",").filter(id => id.trim() !== "").join(", ")
|
||||
},
|
||||
users: {
|
||||
type: OptionType.STRING,
|
||||
description: "Users to let bypass (notified for all messages sent in DMs)",
|
||||
default: "",
|
||||
placeholder: "Separate with commas",
|
||||
onChange: async function (value) {
|
||||
settings.store.users = value.replace(/\s/g, "").split(",").filter(id => id.trim() !== "").join(", ");
|
||||
}
|
||||
onChange: value => settings.store.users = value.replace(/\s/g, "").split(",").filter(id => id.trim() !== "").join(", ")
|
||||
},
|
||||
allowOutsideOfDms: {
|
||||
type: OptionType.BOOLEAN,
|
||||
|
|
Loading…
Add table
Reference in a new issue