Renamed Description/Summary Attributes to Summary/Remarks, as per discussion in #239
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace Discord.Commands
|
||||
{
|
||||
// Full summary of method
|
||||
// Extension of the Cosmetic Summary, for Groups, Commands, and Parameters
|
||||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
|
||||
public class DescriptionAttribute : Attribute
|
||||
public class RemarksAttribute : Attribute
|
||||
{
|
||||
public string Text { get; }
|
||||
|
||||
public DescriptionAttribute(string text)
|
||||
public RemarksAttribute(string text)
|
||||
{
|
||||
Text = text;
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Discord.Commands
|
||||
{
|
||||
// Brief summary of method/module/parameter
|
||||
// Cosmetic Summary, for Groups and Commands
|
||||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Parameter)]
|
||||
public class SummaryAttribute : Attribute
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user