DiscordGuildMember
Defined in: bot/bot.type.ts:422
A member of a server. Only what provisioning needs: who they are and which roles they hold.
Properties
Section titled “Properties”
optionalnick?:string|null
Defined in: bot/bot.type.ts:433
The member’s nickname in the server, or null when none is set.
roles:
string[]
Defined in: bot/bot.type.ts:431
Ids of the roles the member holds.
optionaluser?:object
Defined in: bot/bot.type.ts:424
The member’s account; Discord leaves it out in some message contexts.
id:
string
The user id.
username?
Section titled “username?”
optionalusername?:string
The account’s username.