Table of Contents

Method Flatten

Namespace
DSharpPlus.Commands.Trees
Assembly
DSharpPlus.Commands.dll

Flatten()

Traverses this command tree, returning this command builder and all subcommands recursively.

public IReadOnlyList<CommandBuilder> Flatten()

Returns

IReadOnlyList<CommandBuilder>

A list of all command builders in this tree.