T

CommandUser

A Discord user, as the user store returns it. Only the fields commands rely on.

type CommandUser = { … }

Members

bot?boolean

true for bot accounts.

globalName?string | null

The display name the user set; null or absent when they set none.

idstring

The user's Discord snowflake id.

usernamestring

The unique account name, without the @.