Table of Contents

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 DiscordInteraction
command Command
options IReadOnlyList<DiscordInteractionDataOption>

Returns

bool