Interface UserData

Hierarchy

  • UserData

Properties

avatar?: string

The user's avatar

avatar_decoration?: string

Not described in API documentation, but appears in user mentions within MessageData.

bot: boolean

Whether the user belongs to an OAuth2 application

discriminator: string

The discriminator for the user

id: string

The ID for the user.

public_flags?: UserFlags

The public flags on a user's account.

See

https://discord.dev/resources/user#user-object-user-flags

username: string

The username for the user.

Generated using TypeDoc