Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
User
Class User
Hierarchy
Base
User
ExtendedUser
Index
Constructors
constructor
Properties
avatar
avatarURL
bot
created
At
default
Avatar
default
AvatarURL
discriminator
id
mention
public
Flags
static
AvatarURL
system
username
Methods
add
Relationship
delete
Note
dynamic
AvatarURL
edit
Note
getDMChannel
get
Profile
inspect
remove
Relationship
toJSON
Constructors
constructor
new
User
(
data
:
BaseData
, client
:
Client
)
:
User
Parameters
data:
BaseData
client:
Client
Returns
User
Properties
Optional
avatar
avatar
:
undefined
|
string
avatarURL
avatarURL
:
string
bot
bot
:
boolean
created
At
created
At
:
number
default
Avatar
default
Avatar
:
string
default
AvatarURL
default
AvatarURL
:
string
discriminator
discriminator
:
string
id
id
:
string
mention
mention
:
string
Optional
public
Flags
public
Flags
:
undefined
|
number
static
AvatarURL
static
AvatarURL
:
string
system
system
:
boolean
username
username
:
string
Methods
add
Relationship
add
Relationship
(
block
?:
boolean
)
:
Promise
<
void
>
Parameters
Optional
block:
boolean
Returns
Promise
<
void
>
delete
Note
delete
Note
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
dynamic
AvatarURL
dynamic
AvatarURL
(
format
?:
string
, size
?:
number
)
:
string
Parameters
Optional
format:
string
Optional
size:
number
Returns
string
edit
Note
edit
Note
(
note
:
string
)
:
Promise
<
void
>
Parameters
note:
string
Returns
Promise
<
void
>
getDMChannel
getDMChannel
(
)
:
Promise
<
PrivateChannel
>
Returns
Promise
<
PrivateChannel
>
get
Profile
get
Profile
(
)
:
Promise
<
UserProfile
>
Returns
Promise
<
UserProfile
>
inspect
inspect
(
)
:
User
Returns
User
remove
Relationship
remove
Relationship
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
Exports
Externals
Eris
User
constructor
avatar
avatarURL
bot
created
At
default
Avatar
default
AvatarURL
discriminator
id
mention
public
Flags
static
AvatarURL
system
username
add
Relationship
delete
Note
dynamic
AvatarURL
edit
Note
getDMChannel
get
Profile
inspect
remove
Relationship
toJSON
Generated using
TypeDoc