Interface IContextCheck<TAttribute>
- Namespace
- DSharpPlus.Commands.ContextChecks
- Assembly
- DSharpPlus.Commands.dll
Represents a base interface for context checks to implement.
public interface IContextCheck<TAttribute> : IContextCheck where TAttribute : ContextCheckAttribute
Type Parameters
TAttribute
Methods
- ExecuteCheckAsync(TAttribute, CommandContext)
Executes the check given the attribute.