Skip to main content

Class GroupAttribute

Marks the module as a command group.

Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class GroupAttribute : Attribute, _Attribute

Properties​

Prefix​

Gets the prefix set for the module.

View Source​
Declaration
public string Prefix { get; }

Implements​

  • System.Runtime.InteropServices._Attribute