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
-
objectAttributeContextMenuCheckBaseAttribute
Methods
- ExecuteChecksAsync(ContextMenuContext)
Checks whether this command can be executed within the current context.