Table of Contents

Method FindCommand

Namespace
DSharpPlus.CommandsNext
Assembly
DSharpPlus.CommandsNext.dll

FindCommand(string, out string?)

Finds a specified command by its qualified name, then separates arguments.

public Command? FindCommand(string commandString, out string? rawArguments)

Parameters

commandString string

Qualified name of the command, optionally with arguments.

rawArguments string

Separated arguments.

Returns

Command

Found command or null if none was found.