Table of Contents

Method ExecuteChecksAsync

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

ExecuteChecksAsync(BaseContext)

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

public abstract Task<bool> ExecuteChecksAsync(BaseContext ctx)

Parameters

ctx BaseContext

The context.

Returns

Task<bool>

Whether the checks passed.