Skip to main content

ODSlashCommandBuilder interface

under construction

We are still working the API Reference! This page might be incomplete or doesn't contain all details!

Overview​

The builder for slash commands. Here you can add options to the command.

View Source

Properties​


contexts array ➜ discord-api-types.InteractionContextType[]​

This field is required in Open Ticket for future compatibility.

View Source


inherited optional defaultMemberPermissions type ➜ null|discord.PermissionResolvable​

(no description)

View Source


inherited description string ➜ string​

(no description)

View Source


inherited optional descriptionLocalizations type ➜ Partial​

(no description)

View Source


optional dmPermission boolean ➜ boolean​

(no description)

View Source


integrationTypes array ➜ discord-api-types.ApplicationIntegrationType[]​

This field is required in Open Ticket for future compatibility.

View Source


inherited name string ➜ string​

(no description)

View Source


inherited optional nameLocalizations type ➜ Partial​

(no description)

View Source


inherited optional nsfw boolean ➜ boolean​

(no description)

View Source


inherited optional options type ➜ readonly (discord.ApplicationCommandOptionData[])​

(no description)

View Source


inherited optional type type ➜ discord-api-types.ChatInput​

(no description)

View Source