Table of Contents

Method WithChild

Namespace
DSharpPlus.CommandsNext.Builders
Assembly
DSharpPlus.CommandsNext.dll

WithChild(CommandBuilder)

Adds a command to the collection of child commands for this group.

public CommandGroupBuilder WithChild(CommandBuilder child)

Parameters

child CommandBuilder

Command to add to the collection of child commands for this group.

Returns

CommandGroupBuilder

This builder.