From ad54be8790445e9232b31cd966268295119bf36b Mon Sep 17 00:00:00 2001 From: Khionu Terabite Date: Sun, 21 Aug 2016 18:27:36 -0400 Subject: [PATCH] Changed Parameter Summary from pulling DescriptionAttribute to SummaryAttribute --- src/Discord.Net.Commands/Command.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Commands/Command.cs b/src/Discord.Net.Commands/Command.cs index cf35afd32..f98fa0fcd 100644 --- a/src/Discord.Net.Commands/Command.cs +++ b/src/Discord.Net.Commands/Command.cs @@ -163,7 +163,7 @@ namespace Discord.Commands throw new InvalidOperationException("Remainder parameters must be the last parameter in a command."); string name = parameter.Name; - string summary = parameter.GetCustomAttribute()?.Text; + string summary = parameter.GetCustomAttribute()?.Text; bool isOptional = parameter.IsOptional; object defaultValue = parameter.HasDefaultValue ? parameter.DefaultValue : null;