Skip to main content

Class ApplicationCommandProperties

Represents the base class to create/modify application commands.

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

Properties​

Name​

Gets or sets the name of this command.

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

IsDefaultPermission​

Gets or sets whether the command is enabled by default when the app is added to a guild. Default is true

View Source​
Declaration
public Optional<bool> IsDefaultPermission { get; set; }