Sparky
    Preparing search index...
    • Reply to an interaction

      Type Parameters

      • T extends InteractionReplyOptions | InteractionEditReplyOptions

      Parameters

      • interaction:
            | ChatInputCommandInteraction<CacheType>
            | MessageContextMenuCommandInteraction<CacheType>
            | UserContextMenuCommandInteraction<CacheType>
            | MessageComponentInteraction<CacheType>
            | ModalSubmitInteraction<CacheType>

        The interaction object

      • replyOptions: T

        The options for replying to the interaction

      • deleteTime: number = -1

        The time in seconds after which the reply should be deleted

      Returns Promise<void>

      A promise that resolves after the reply is sent

      An error if the interaction is not provided or if neither content nor embeds are provided