kient / BaseUser
Class: BaseUser
src/structures/base-user.ts:10
Data structure of a user account
Extends
Extended by
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
_kient | readonly | Kient | - | Base ._kient | src/structures/base.ts:4 |
id | public | number | The user's id | - | src/structures/base-user.ts:14 |
profilePicture | public | string | The user's profile picture url | - | src/structures/base-user.ts:24 |
username | public | string | The username of the user | - | src/structures/base-user.ts:19 |
Methods
toJSON()
ts
toJSON(): ExcludeFunctionsAndPrivate<BaseUser>
src/structures/base-user.ts:35