Skip to main content

DiscordMessageInteraction

@discordeno/bot


Documentation / @discordeno/bot / DiscordMessageInteraction

Interface: DiscordMessageInteraction

Defined in: packages/types/dist/types/discord.d.ts:1545

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

Properties

id

id: string

Defined in: packages/types/dist/types/discord.d.ts:1547

Id of the interaction


member?

optional member: Partial<DiscordMember>

Defined in: packages/types/dist/types/discord.d.ts:1555

The member who invoked the interaction in the guild


name

name: string

Defined in: packages/types/dist/types/discord.d.ts:1551

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


type

type: InteractionTypes

Defined in: packages/types/dist/types/discord.d.ts:1549

The type of interaction


user

user: DiscordUser

Defined in: packages/types/dist/types/discord.d.ts:1553

The user who invoked the interaction