Skip to content

kient / BaseUser

Class: BaseUser

src/structures/base-user.ts:10

Data structure of a user account

Extends

Extended by

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
_kientreadonlyKient-Base._kientsrc/structures/base.ts:4
idpublicnumberThe user's id-src/structures/base-user.ts:14
profilePicturepublicstringThe user's profile picture url-src/structures/base-user.ts:24
usernamepublicstringThe username of the user-src/structures/base-user.ts:19

Methods

toJSON()

ts
toJSON(): ExcludeFunctionsAndPrivate<BaseUser>

src/structures/base-user.ts:35

Returns

ExcludeFunctionsAndPrivate<BaseUser>