Table of Contents

Class CheckBaseAttribute

Namespace
DSharpPlus.CommandsNext.Attributes
Assembly
DSharpPlus.CommandsNext.dll

Represents a base for all command pre-execution check attributes.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public abstract class CheckBaseAttribute : Attribute
Inheritance
object
Attribute
CheckBaseAttribute
Derived

Methods

ExecuteCheckAsync(CommandContext, bool)

Asynchronously checks whether this command can be executed within given context.