Class SlashCommandGroupAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Marks this class a slash command group.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class SlashCommandGroupAttribute : Attribute
- Inheritance
-
SlashCommandGroupAttribute
Constructors
- SlashCommandGroupAttribute(string, string, bool, bool)
Marks this class as a slash command group.
Properties
- DefaultPermission
Gets whether this command is enabled on default.
- Description
Gets the description of this slash command group.
- NSFW
Gets whether this command is age restricted.
- Name
Gets the name of this slash command group.