Class REST/ApplicationCommands

Various methods for interacting with application commands. Located at Client#rest.applicationCommands.

Constructors

Methods

  • Delete a global application command.

    Parameters

    • applicationID: string

      The ID of the application.

    • commandID: string

      The ID the command to delete.

    Returns Promise<void>

    Caching

    This method does not cache its result.

  • Delete a guild application command.

    Parameters

    • applicationID: string

      The ID of the application.

    • guildID: string

      The ID of the guild.

    • commandID: string

      The ID of the command to delete.

    Returns Promise<void>

    Caching

    This method does not cache its result.