Reference
Classes
User

Class: User

Constructors

new User()

new User(client, data): User

Parameters

ParameterType
clientClient
dataany

Returns

User

Defined in

src/core/classes/User.ts:21 (opens in a new tab)

Properties

PropertyModifierTypeDefined in
accentColorpublicnull | stringsrc/core/classes/User.ts:13 (opens in a new tab)
avatarpublicnull | stringsrc/core/classes/User.ts:9 (opens in a new tab)
bannerpublicnull | stringsrc/core/classes/User.ts:12 (opens in a new tab)
botpublicbooleansrc/core/classes/User.ts:8 (opens in a new tab)
discriminatorpublicstringsrc/core/classes/User.ts:6 (opens in a new tab)
emailpublicnull | stringsrc/core/classes/User.ts:16 (opens in a new tab)
flags?publicnumbersrc/core/classes/User.ts:17 (opens in a new tab)
globalNamepublicnull | stringsrc/core/classes/User.ts:7 (opens in a new tab)
idpublicstringsrc/core/classes/User.ts:4 (opens in a new tab)
localepublicnull | stringsrc/core/classes/User.ts:14 (opens in a new tab)
mfaEnabled?publicbooleansrc/core/classes/User.ts:11 (opens in a new tab)
publicFlags?publicnull | numbersrc/core/classes/User.ts:18 (opens in a new tab)
systempublicnull | stringsrc/core/classes/User.ts:10 (opens in a new tab)
usernamepublicstringsrc/core/classes/User.ts:5 (opens in a new tab)
verifiedpublicbooleansrc/core/classes/User.ts:15 (opens in a new tab)