Class SlashCommandGroupAttribute
- Namespace
- DisCatSharp.ApplicationCommands.Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
Represents a DiscordApplicationCommand group.
[AttributeUsage(AttributeTargets.Class)]
public class SlashCommandGroupAttribute : Attribute
- Inheritance
-
SlashCommandGroupAttribute
- Inherited Members
Constructors
- SlashCommandGroupAttribute(string, string, bool, InteractionContextType[]?, ApplicationCommandIntegrationTypes[]?)
Marks this class as a slash command group.
- SlashCommandGroupAttribute(string, string, bool, bool, InteractionContextType[]?, ApplicationCommandIntegrationTypes[]?)
Marks this method as a slash command group.
- SlashCommandGroupAttribute(string, string, long, bool, InteractionContextType[]?, ApplicationCommandIntegrationTypes[]?)
Marks this method as a slash command group.
- SlashCommandGroupAttribute(string, string, long, bool, bool, InteractionContextType[]?, ApplicationCommandIntegrationTypes[]?)
Marks this method as a slash command group.
Properties
- AllowedContexts
Gets the allowed contexts of this slash command group.
- DefaultMemberPermissions
Gets the needed permission of this slash command group.
- Description
Gets the description of this slash command group.
- DmPermission
Gets the dm permission of this slash command group.
- IntegrationTypes
Gets the allowed integration types of this slash command group.
- IsNsfw
Gets whether this slash command group is marked as NSFW.
- Name
Gets the name of this slash command group.