Hierarchy

  • DiscordUser

Properties

avatar: string

URL to the user's avatar on Discord.

discriminator: string

The user's discriminator on Discord.

displayName: string

The user's server nickname on Discord, or their username if it is not set.

id: string

The user's Discord snowflake (ID).

name: string

The user's username on Discord.

roles: DiscordRole[]

Array of roles the user has on Discord.

type: "discord"

The type of user. For Discord events, this is always discord.

Generated using TypeDoc