Class CommandGroupBuilder
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
Represents an interface to build a command group.
public sealed class CommandGroupBuilder : CommandBuilder
- Inheritance
-
CommandGroupBuilder
- Inherited Members
Constructors
- CommandGroupBuilder()
Creates a new module-less command group builder.
- CommandGroupBuilder(ICommandModule?)
Creates a new command group builder.
Properties
- Children
Gets the list of child commands registered for this group.
Methods
- WithChild(CommandBuilder)
Adds a command to the collection of child commands for this group.