Table of Contents

Class GroupAttribute

Namespace
Discord.Commands
Assembly
Discord.Net.Commands.dll

Marks the module as a command group.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class GroupAttribute : Attribute
Inheritance
GroupAttribute
Inherited Members

Constructors

GroupAttribute()

Initializes a new instance of the Attribute class.

public GroupAttribute()

GroupAttribute(string)

Initializes a new GroupAttribute with the provided prefix.

public GroupAttribute(string prefix)

Parameters

prefix string

The prefix of the module group.

Properties

Prefix

Gets the prefix set for the module.

public string Prefix { get; }

Property Value

string