Interface InteractionContext

Hierarchy

  • InteractionContext

Properties

editResponse: ((data: InteractionCallbackMessage) => Promise<any>)

Type declaration

    • (data: InteractionCallbackMessage): Promise<any>
    • Follow up message when using deferred

      Parameters

      • data: InteractionCallbackMessage

      Returns Promise<any>

focusedOption?: ApplicationCommandInteractionDataOption

The focused option for autocomplete

interaction: Interaction

The interaction object

member?: GuildMember

The guild member who sent the interaction

respond: RespondFn

Respond to the interaction immediately

targetMessage?: Message

The target of the message command

targetUser?: User

The target of the user command

user?: User

The user who sent the interaction (in a DM)

Generated using TypeDoc