Table of Contents

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
object
Attribute
SlashCheckBaseAttribute
Derived

Methods

ExecuteChecksAsync(InteractionContext)

Checks whether this command can be executed within the current context.