ClientUser

ClientUser

new ClientUser()

Source:
Properties:
Name Type Attributes Description
avatar String

The avatar hash of the user

avatarURL String

The url of the user's avatar

bot Boolean

Whether the user is a bot or not

discriminator String

The discriminator of the user

email String <nullable>

The email of the client

id Snowflake

The id of the user

mfaEnabled Boolean

Whether the client has mfa enabled

tag String

The tag of the user

username String

The username of the user

verified Boolean

Whether the client is verified

Extends

Methods

createDM() → {Promise.<DMChannel>}

Source:
Inherited From:

Similar to Client#createDM()

Returns:
Type
Promise.<DMChannel>

(async) createEmbed(embed) → {Promise.<Message>}

Source:
Inherited From:

Sends an embed to the user

Parameters:
Name Type Description
embed Object

The embed to send

Returns:
Type
Promise.<Message>

(async) createMessage(content) → {Promise.<Message>}

Source:
Inherited From:

Sends a message to the user

Parameters:
Name Type Description
content String

The content of the message

Returns:
Type
Promise.<Message>