Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Methods

  • defer(): Promise<void>
  • del(): Promise<void | Message<boolean>>
  • Delete the latest response.

    Returns Promise<void | Message<boolean>>

  • edit(options: string | MessageEditOptions): Promise<void | Message<boolean>>
  • Edit the latest response.

    Parameters

    • options: string | MessageEditOptions

    Returns Promise<void | Message<boolean>>

  • reply(options: string | Omit<MessageOptions, "reply" | "stickers">): Promise<void | Message<boolean>>
  • Reply to the trigger. If this is an interaction, at least one of these is required for the interaction not to show a "failed" status.

    Parameters

    • options: string | Omit<MessageOptions, "reply" | "stickers">

    Returns Promise<void | Message<boolean>>

  • If the trigger is an interaction, reply ephemerally (a temporary, dismissable message only the requester can see). Otherwise, reply using the specified fallback.

    Parameters

    Returns Promise<void | Message<boolean>>

  • send(options: string | Omit<MessageOptions, "reply" | "stickers">): Promise<void | Message<boolean>>
  • Send a message to the channel of the request

    Parameters

    • options: string | Omit<MessageOptions, "reply" | "stickers">

    Returns Promise<void | Message<boolean>>

Generated using TypeDoc