Class ReacordDiscordJs

The Reacord adapter for Discord.js.

Hierarchy

Constructors

Methods

  • Replies to a command interaction by sending a message.

    Parameters

    • interaction: CommandInteraction<CacheType>

      Discord command interaction object.

    • Optional options: InteractionReplyOptions = {}

      Custom options for the interaction reply method.

    Returns ReacordInstance

    See

  • Sends an ephemeral message as a reply to a command interaction.

    Parameters

    • interaction: CommandInteraction<CacheType>
    • Optional initialContent: ReactNode

    Returns ReacordInstance

    Deprecated

    Use reacord.createInteractionReply(interaction, { ephemeral: true })

    See

    https://reacord.mapleleaf.dev/guides/sending-messages

Generated using TypeDoc