A base class which most other classes extend.

Hierarchy

Constructors

Properties

appPermissions?: Permission

The permissions the bot has in the channel this interaction was sent from.

The application this interaction is for. This can be a partial object with only an id property.

The channel this interaction was sent from.

The data associated with the interaction.

guild?: Guild

The guild this interaction was sent from, if applicable.

guildID?: string

The id of the guild this interaction was sent from, if applicable.

guildLocale?: string

The preferred locale of the guild this interaction was sent from, if applicable.

id: string
locale: string

The locale of the invoking user.

member?: Member

The member associated with the invoking user.

token: string

The token of this interaction.

The type of this interaction.

user: User

The user that invoked this interaction.

version: 1

Read-only property, always 1

Accessors

Methods