ClientUserSettingManager
classe · Source
Manages API methods for users and stores their cache.
Extends: BaseManager
Properties
addFriendFrom
WHO CAN ADD YOU AS A FRIEND ? Source
locale
The user's chosen language option Source
activityDisplay
Show playing status for detected/added games Setting => ACTIVITY SETTINGS => Activity Status => Display current activity as a status message Source
allowDMsFromGuild
Allow DMs from guild members by default on guild join Source
displayImage
Display images and video when uploaded directly Source
linkedImageDisplay
Display images and video when linked Source
autoplayGIF
Play GIFs without hovering over them Setting => APP SETTINGS => Accessibility => Automatically play GIFs when Discord is focused. Source
previewLink
Show embeds and preview website links pasted into chat Source
animatedEmoji
Play animated emoji without hovering over them Setting => APP SETTINGS => Accessibility => Play Animated Emojis Source
allowTTS
Enable /tts command and playback Setting => APP SETTINGS => Accessibility => Text-to-speech => Allow playback Source
compactMode
Use compact mode Setting => APP SETTINGS => Appearance => Message Display => Compact Mode Source
convertEmoticons
Convert "old fashioned" emoticons to emojis Setting => APP SETTINGS => Text & Images => Emoji => Convert Emoticons Source
DMScanLevel
Content filter level
0: Off1: Friends excluded2: Scan everyone Source
theme
Client theme Setting => APP SETTINGS => Appearance => Theme
darklightSource
developerMode
Show the option to copy ids in right click menus Source
afkTimeout
How many seconds being idle before the user is marked as "AFK"; this handles when push notifications are sent Source
stickerAnimationMode
When stickers animate
0: Always1: On hover/focus2: Never Source
showEmojiReactions
Display reactions Setting => APP SETTINGS => Text & Images => Emoji => Show emoji reactions Source
disableDMfromGuilds
Disable Direct Message from servers Source
raw
Raw data Source
client
The client that instantiated this Manager Source
Methods
_patch
Patch data file https://luna.gitlab.io/discord-unofficial-docs/docs/user_settingsParameters
| Name | Type | Description |
|---|---|---|
data | Object | Raw Data to patch |
| Source |
edit
Edit data Parameters
| Name | Type | Description |
|---|---|---|
data | any | Data to edit |
| Source |
toggleCompactMode
Toggle compact mode Returns: Promise<this>Source
setTheme
Discord Theme Parameters
| Name | Type | Description |
|---|---|---|
value | string | Theme to set (dark |
Returns: Promise<this>Source
setCustomStatus
Set custom status Parameters
| Name | Type | Description |
|---|---|---|
options | CustomStatus | CustomStatusOption | CustomStatus |
Returns: Promise<this>Source
restrictedGuilds
Restricted guilds setting Parameters
| Name | Type | Description |
|---|---|---|
status | boolean | Restricted status |
Returns: PromiseSource
addRestrictedGuild
Add a guild to the list of restricted guilds. Parameters
| Name | Type | Description |
|---|---|---|
guildId | GuildIDResolve | The guild to add |
Returns: PromiseSource
removeRestrictedGuild
Remove a guild from the list of restricted guilds. Parameters
| Name | Type | Description |
|---|---|---|
guildId | GuildIDResolve | The guild to remove |
Returns: PromiseSource