NewGuildSettings: MobilePush Setting

This commit is contained in:
thororen1234 2025-03-02 12:20:38 -05:00
parent 8fdb3764bc
commit 7f8b3de156
No known key found for this signature in database

View file

@ -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,