DiscordClientUser

Namespace: Discord

Inherits from

DiscordUser

Properties

Name

Description

Type

Email

The user's email

string

EmailVerified

Returns whether the user's email is verified or not

bool

TwoFactorAuth

Returns whether the user has 2fa enabled or not

bool

ExplicitContentFilter

The user's dm filters

ExplicitContentFilter

Language

The user's language/locale

DiscordLanguage

Nitro

The user's nitro subscription

DiscordNitroType

Methods

Update

Updates the object's information.

ChangeProfile

Changes the user's profile.

Parameters

Name

Description

Type

settings

The changes you want to make

UserProfileUpdate

GetSettings

Gets the user's current settings.

Returns

DiscordUserSettings

ChangeSettings

Updates the user's settings.

Parameters

Name

Description

Type

settings

The changes you want to make

UserSettingsProperties

Returns

DiscordUserSettings

Delete

Deletes the user's account.

Parameters

Name

Description

Type

password

The user's current password

string

Disable

Disables the user's account.

Parameters

Name

Description

Type

password

The user's current password

string

SetHypesquad

Sets the user's Hypesquad (Bravery, Brilliance, Balance).

Parameters

Name

Description

Type

house

Your desired house for the user

Hypesquad

Last updated

Was this helpful?