Class ContextMenuCheckBaseAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
The base class for a pre-execution check for a context menu.
public abstract class ContextMenuCheckBaseAttribute : Attribute
- Inheritance
-
ContextMenuCheckBaseAttribute
Methods
- ExecuteChecksAsync(ContextMenuContext)
Checks whether this command can be executed within the current context.