Class SlashCommandBuilder
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public class SlashCommandBuilder : ISlashCommandBuilder
- Inheritance
-
SlashCommandBuilder
- Implements
- Inherited Members
Constructors
SlashCommandBuilder()
public SlashCommandBuilder()
Methods
AddSubCommand(string, string, Action<SubSlashCommandBuilder>)
public void AddSubCommand(string name, string description, Action<SubSlashCommandBuilder> builder)
Parameters
name
stringdescription
stringbuilder
Action<SubSlashCommandBuilder>
AddSubCommand(string, string, Delegate)
public void AddSubCommand(string name, string description, Delegate handler)