mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
NewGuildSettings: MobilePush Setting
This commit is contained in:
parent
8fdb3764bc
commit
7f8b3de156
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,11 @@ const settings = definePluginSettings({
|
||||||
description: "Show all channels automatically",
|
description: "Show all channels automatically",
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
default: true
|
default: true
|
||||||
|
},
|
||||||
|
mobilePush: {
|
||||||
|
description: "Mute Mobile Push Notifications automatically",
|
||||||
|
type: OptionType.BOOLEAN,
|
||||||
|
default: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -99,6 +104,7 @@ function applyDefaultSettings(guildId: string | null) {
|
||||||
updateGuildNotificationSettings(guildId,
|
updateGuildNotificationSettings(guildId,
|
||||||
{
|
{
|
||||||
muted: settings.store.guild,
|
muted: settings.store.guild,
|
||||||
|
mobile_push: settings.store.mobilePush,
|
||||||
suppress_everyone: settings.store.everyone,
|
suppress_everyone: settings.store.everyone,
|
||||||
suppress_roles: settings.store.role,
|
suppress_roles: settings.store.role,
|
||||||
mute_scheduled_events: settings.store.events,
|
mute_scheduled_events: settings.store.events,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue