publishCommand

Class used to publish slash commands to the Discord API.

new publishCommand(operation, client)
ArgumentRequiredTypeDescription

operation

number

The id of the operation to perform | Use the SlashCommandOperations type

client

The client object of the bot

Last updated