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