Registering
Learn how to register your application commands properly
Global commands
client.registerGlobalApplicationCommand({
name: "reminder",
type: ApplicationCommandType.CHAT_INPUT,
options: [
{
type: ApplicationCommandOptionType.INTEGER,
name: "minutes",
required: true
},
{
type: ApplicationCommandOptionType.STRING,
name: "message",
required: false
},
]
});Guild commands
User commands
Command Option Types
Last updated