Method TryFindCommand
- Namespace
- DSharpPlus.Commands.Processors.SlashCommands
- Assembly
- DSharpPlus.Commands.dll
TryFindCommand(DiscordInteraction, out Command?, out IReadOnlyList<DiscordInteractionDataOption>?)
public bool TryFindCommand(DiscordInteraction interaction, out Command? command, out IReadOnlyList<DiscordInteractionDataOption>? options)
Parameters
interaction
DiscordInteractioncommand
Commandoptions
IReadOnlyList<DiscordInteractionDataOption>