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
commandStringstringQualified name of the command, optionally with arguments.
rawArgumentsstringSeparated arguments.
Returns
- Command
Found command or null if none was found.