Table of Contents

Class SlashCommandProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a class used to create slash commands.

public class SlashCommandProperties : ApplicationCommandProperties
Inheritance
SlashCommandProperties
Inherited Members

Properties

Description

Gets or sets the description of this command.

public Optional<string> Description { get; set; }

Property Value

Optional<string>

Options

Gets or sets the options for this command.

public Optional<List<ApplicationCommandOptionProperties>> Options { get; set; }

Property Value

Optional<List<ApplicationCommandOptionProperties>>