Table of Contents

Method ExecuteChecksAsync

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

ExecuteChecksAsync(InteractionContext)

Checks whether this command can be executed within the current context.

public abstract Task<bool> ExecuteChecksAsync(InteractionContext ctx)

Parameters

ctx InteractionContext

The context.

Returns

Task<bool>

Whether the checks passed.