Class SlashCommandAttribute
- Namespace
- Dis
Cat .ApplicationSharp Commands .Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
Represents a Discord
- Inheritance
-
Slash
Command Attribute
- Inherited Members
Constructors
- Slash
Command Attribute(string, string, bool, Interaction Context Type[]?, Application Command Integration Types[]?) Marks this method as a slash command.
- Slash
Command Attribute(string, string, bool, bool, Interaction Context Type[]?, Application Command Integration Types[]?) Marks this method as a slash command.
- Slash
Command Attribute(string, string, long, bool, Interaction Context Type[]?, Application Command Integration Types[]?) Marks this method as a slash command.
- Slash
Command Attribute(string, string, long, bool, bool, Interaction Context Type[]?, Application Command Integration Types[]?) Marks this method as a slash command.
Properties
- Allowed
Contexts Gets the allowed contexts of this command.
- Default
Member Permissions Gets the needed permission of this command.
- Description
Gets the description of this command.
- Dm
Permission Gets the dm permission of this command.
- Integration
Types Gets the allowed integration types of this command.
- Is
Nsfw Gets whether this command is marked as NSFW.
- Name
Gets the name of this command.