Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Properties

default

default: { replyWithError: (interaction: BaseCommandInteraction<CacheType>, errorMessage: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable) => Promise<void>; replyWithSuccess: (interaction: BaseCommandInteraction<CacheType>, message: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable) => Promise<void> }

Type declaration

  • replyWithError: (interaction: BaseCommandInteraction<CacheType>, errorMessage: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable) => Promise<void>
      • (interaction: BaseCommandInteraction<CacheType>, errorMessage: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable): Promise<void>
      • Replies to an interaction with an error embed

        Parameters

        • interaction: BaseCommandInteraction<CacheType>

          The interaction to reply to

        • errorMessage: string

          The error message to send

        • ephemeral: boolean = false

          Whether to make reply ephemeral (default: false)

        • Optional details: string

          Optional details to include in the message

        • Optional emoji: EmojiResolvable

          Emoji to include in the title

        Returns Promise<void>

  • replyWithSuccess: (interaction: BaseCommandInteraction<CacheType>, message: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable) => Promise<void>
      • (interaction: BaseCommandInteraction<CacheType>, message: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable): Promise<void>
      • Replies to an interaction with a success embed

        Parameters

        • interaction: BaseCommandInteraction<CacheType>

          The interaction to reply to

        • message: string

          The success message to display

        • ephemeral: boolean = false

          Whether to make reply ephemeral (default: false)

        • Optional details: string

          Optional details to include in the message

        • Optional emoji: EmojiResolvable

          Emoji to include in the title

        Returns Promise<void>

Functions

Const replyWithError

  • replyWithError(interaction: BaseCommandInteraction<CacheType>, errorMessage: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable): Promise<void>
  • Replies to an interaction with an error embed

    Parameters

    • interaction: BaseCommandInteraction<CacheType>

      The interaction to reply to

    • errorMessage: string

      The error message to send

    • ephemeral: boolean = false

      Whether to make reply ephemeral (default: false)

    • Optional details: string

      Optional details to include in the message

    • Optional emoji: EmojiResolvable

      Emoji to include in the title

    Returns Promise<void>

Const replyWithSuccess

  • replyWithSuccess(interaction: BaseCommandInteraction<CacheType>, message: string, ephemeral?: boolean, details?: string, emoji?: EmojiResolvable): Promise<void>
  • Replies to an interaction with a success embed

    Parameters

    • interaction: BaseCommandInteraction<CacheType>

      The interaction to reply to

    • message: string

      The success message to display

    • ephemeral: boolean = false

      Whether to make reply ephemeral (default: false)

    • Optional details: string

      Optional details to include in the message

    • Optional emoji: EmojiResolvable

      Emoji to include in the title

    Returns Promise<void>

Generated using TypeDoc