Class

ClientUser

The logged-in bot/user (client.user).

Extends User

Constructor

new ClientUser()

Properties

NameTypeDescription
clientread-onlyClient

Methods

.fetch()

Promise<this>

GET /users/@me — refresh the logged-in user from REST and patch this instance.

await client.user.fetch();