Skip to main content

Class SlashCommandProperties

Represents a class used to create slash commands.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class SlashCommandProperties : ApplicationCommandProperties

Properties​

Description​

Gets or sets the discription of this command.

View Source​
Declaration
public Optional<string> Description { get; set; }

Options​

Gets or sets the options for this command.

View Source​
Declaration
public Optional<List<ApplicationCommandOptionProperties>> Options { get; set; }