Skip to main content

DiscordMessageInteraction

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordMessageInteraction

Interface: DiscordMessageInteraction

https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object-message-interaction-structure

Properties

id

id: string

Id of the interaction

Defined in

packages/types/dist/types/discord.d.ts:1544


member?

optional member: Partial<DiscordMember>

The member who invoked the interaction in the guild

Defined in

packages/types/dist/types/discord.d.ts:1552


name

name: string

The name of the ApplicationCommand including the name of the subcommand/subcommand group

Defined in

packages/types/dist/types/discord.d.ts:1548


type

type: InteractionTypes

The type of interaction

Defined in

packages/types/dist/types/discord.d.ts:1546


user

user: DiscordUser

The user who invoked the interaction

Defined in

packages/types/dist/types/discord.d.ts:1550