InteractionMessage

A simple object that binds to an interaction message.

Constructor

new InteractionMessage(interaction, id = '@original');

Parameter

Type

Required

Default

Description

interaction

true

none

The interaction this message is attached to.

id

string

true

none

the id of this message.

Properties

id

The ID of this command. Type: string

interaction

The handler used. Type: SlashCommandHandler

Methods

async edit(...messages: InteractionMessageType[])

Edit an interaction message Returns: void

async delete()

Delete the interaction message Returns: void

Last updated

Was this helpful?