T
CommandUser
A Discord user, as the user store returns it. Only the fields commands rely on.
type CommandUser = { … }Members
bot?
booleantrue for bot accounts.
globalName?
string | nullThe display name the user set; null or absent when they set none.
id
stringThe user's Discord snowflake id.
username
stringThe unique account name, without the @.