Table of Contents

Method Flatten

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

Flatten()

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

public IReadOnlyList<Command> Flatten()

Returns

IReadOnlyList<Command>

A list of all commands in this tree.