Method GetCommandsForProcessor
- Namespace
- DSharpPlus.Commands
- Assembly
- DSharpPlus.Commands.dll
GetCommandsForProcessor(ICommandProcessor)
Gets a list of commands filtered for a specific command processor
public IReadOnlyList<Command> GetCommandsForProcessor(ICommandProcessor processor)Parameters
- processorICommandProcessor
- Processor which is calling this method 
Returns
- IReadOnlyList<Command>
- Returns a list of valid commands. This list can be empty if no commands are valid for this processor type