Table of Contents

Method ExecuteChecksAsync

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

ExecuteChecksAsync(ContextMenuContext)

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

public abstract Task<bool> ExecuteChecksAsync(ContextMenuContext ctx)

Parameters

ctx ContextMenuContext

The context.

Returns

Task<bool>

Whether the checks passed.