Method FindCommand
- Namespace
- DisCatSharp.CommandsNext
- Assembly
- DisCatSharp.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
stringQualified name of the command, optionally with arguments.
rawArguments
stringSeparated arguments.
Returns
- Command
Found command or null if none was found.