Skip to main content

DiscordMessageInteraction

@discordeno/bot


Documentation / @discordeno/bot / DiscordMessageInteraction

Interface: DiscordMessageInteraction

Defined in: packages/types/dist/types/discord/interactions.d.ts:134

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/interactions.d.ts:136

Id of the interaction


member?

optional member: Partial<DiscordMember>

Defined in: packages/types/dist/types/discord/interactions.d.ts:144

The member who invoked the interaction in the guild


name

name: string

Defined in: packages/types/dist/types/discord/interactions.d.ts:140

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


type

type: InteractionTypes

Defined in: packages/types/dist/types/discord/interactions.d.ts:138

The type of interaction


user

user: DiscordUser

Defined in: packages/types/dist/types/discord/interactions.d.ts:142

The user who invoked the interaction