@typed-discord/interactions
    Preparing search index...

    Interface CallbackWithoutResponse

    Represents a callback that can be used to respond to an interaction.

    interface CallbackWithoutResponse {
        callback?: (webhook: Webhook) => void;
        with_response?: false;
    }

    Implemented by

    Index

    Properties

    callback?: (webhook: Webhook) => void

    Called after responding to the interaction.

    Type Declaration

      • (webhook: Webhook): void
      • Parameters

        • webhook: Webhook

          The webhook to edit the original message or send follow-ups.

        Returns void

    with_response?: false

    Creating a response to the interaction will not returns a response.