Class SubSlashCommandBuilder
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
Sub slash command allowing to create nested slash commands within a slash command.
public class SubSlashCommandBuilder
- Inheritance
-
SubSlashCommandBuilder
- Inherited Members
Constructors
SubSlashCommandBuilder(string, string, Delegate)
Sub slash command allowing to create nested slash commands within a slash command.
public SubSlashCommandBuilder(string name, string description, Delegate handler)
Parameters
namestringName of the sub slash command (1-32 characters). descriptionstringDescription of the sub slash command (1-100 characters). handlerDelegateHandler that represents the body of the command.
Properties
Description
Description of the command (1-100 characters).
public string Description { get; }
Property Value
Handler
Handler that represents the body of the command.
public Delegate Handler { get; }
Property Value
Name
Name of the command (1-32 characters).
public string Name { get; }