You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
506 B
20 lines
506 B
4 years ago
|
using System;
|
||
|
|
||
|
namespace Discord.Commands
|
||
|
{
|
||
|
// Cosmetic Summary, for Groups and Commands
|
||
|
/// <summary>
|
||
|
/// Attaches a summary to your command.
|
||
|
/// </summary>
|
||
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
|
||
|
public class SummaryAttribute : Attribute
|
||
|
{
|
||
|
public string Text { get; }
|
||
|
|
||
|
public SummaryAttribute(string text)
|
||
|
{
|
||
|
Text = text;
|
||
|
}
|
||
|
}
|
||
|
}
|