GuildSettingManager
classe · Source
Manages API methods for users and stores their cache.
Extends: BaseManager
Properties
guildId
guildId: Snowflake
Guild Id Source
raw
raw: Object
Raw data Source
guild
guild: Guild
Get the guild Source
suppressEveryone
suppressEveryone: boolean
Notification setting > Suppress @everyone and @hereSource
suppressRoles
suppressRoles: boolean
Notification setting > Suppress all role @mentionSource
muteScheduledEvents
muteScheduledEvents: boolean
Notification setting > Mute new events Source
messageNotifications
messageNotifications: number
Notification setting > Message notifications
0: All messages1: Only @mentions2: Nothing Source
flags
flags: number
Flags (unknown) Source
mobilePush
mobilePush: boolean
Notification setting > Mobile push notifications Source
muted
muted: boolean
Mute server Source
muteConfig
muteConfig: Object
Mute config (muted = true)
muteConfig.endTime: End time (Date)muteConfig.selectedTimeWindow: Selected time window (seconds) (number) Source
hideMutedChannels
hideMutedChannels: boolean
Hide muted channels Source
channelOverrides
channelOverrides: Array
Channel overrides (unknown) Source
notifyHighlights
notifyHighlights: number
Notification setting > Suppress highlights
0: ??? (unknown)1: Enable2: Disable Source
version
version: number
Version (unknown) Source
client
client: Client
The client that instantiated this Manager Source
Methods
_patch
_patch(data: Object)
Patch data file Parameters
| Name | Type | Description |
|---|---|---|
data | Object | Raw Data to patch |
| Source |
edit
async edit(data: Object): Promise<GuildSettingManager>
Edit guild settings Parameters
| Name | Type | Description |
|---|---|---|
data | Object | Data to edit |
Returns: Promise<GuildSettingManager>Source