Skip to content

GuildSettingManager

classe · Source

Manages API methods for users and stores their cache.

Extends: BaseManager

Properties

guildId

nullable

guildId: Snowflake

Guild Id Source

raw

raw: Object

Raw data Source

guild

readonly · nullable

guild: Guild

Get the guild Source

suppressEveryone

nullable

suppressEveryone: boolean

Notification setting > Suppress @everyone and @hereSource

suppressRoles

nullable

suppressRoles: boolean

Notification setting > Suppress all role @mentionSource

muteScheduledEvents

nullable

muteScheduledEvents: boolean

Notification setting > Mute new events Source

messageNotifications

nullable

messageNotifications: number

Notification setting > Message notifications

  • 0: All messages
  • 1: Only @mentions
  • 2: Nothing Source

flags

nullable

flags: number

Flags (unknown) Source

mobilePush

nullable

mobilePush: boolean

Notification setting > Mobile push notifications Source

muted

nullable

muted: boolean

Mute server Source

muteConfig

nullable

muteConfig: Object

Mute config (muted = true)

  • muteConfig.endTime: End time (Date)
  • muteConfig.selectedTimeWindow: Selected time window (seconds) (number) Source

hideMutedChannels

nullable

hideMutedChannels: boolean

Hide muted channels Source

channelOverrides

nullable

channelOverrides: Array

Channel overrides (unknown) Source

notifyHighlights

nullable

notifyHighlights: number

Notification setting > Suppress highlights

  • 0: ??? (unknown)
  • 1: Enable
  • 2: Disable Source

version

nullable

version: number

Version (unknown) Source

client

readonly

client: Client

The client that instantiated this Manager Source

Methods

_patch

private

_patch(data: Object)

Patch data file Parameters

NameTypeDescription
dataObjectRaw Data to patch
Source

edit

async

async edit(data: Object): Promise<GuildSettingManager>

Edit guild settings Parameters

NameTypeDescription
dataObjectData to edit

Returns: Promise<GuildSettingManager>Source

See also

Unofficial software. Not affiliated with or supported by Discord.