using System; namespace Discord.Commands { /// /// Marks the module as a command group. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class GroupAttribute : Attribute { /// /// Gets the prefix set for the module. /// public string Prefix { get; } /// public GroupAttribute() { Prefix = null; } /// /// Initializes a new with the provided prefix. /// /// The prefix of the module group. public GroupAttribute(string prefix) { Prefix = prefix; } } }