mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -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",
|
||||
type: OptionType.BOOLEAN,
|
||||
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,
|
||||
{
|
||||
muted: settings.store.guild,
|
||||
mobile_push: settings.store.mobilePush,
|
||||
suppress_everyone: settings.store.everyone,
|
||||
suppress_roles: settings.store.role,
|
||||
mute_scheduled_events: settings.store.events,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue