Browse Source
Update CommandAttribute.cs
Nullable<T> is not valid for Attributes, this is my suggested fix.
pull/1134/head
JustNrik
GitHub
7 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
src/Discord.Net.Commands/Attributes/CommandAttribute.cs
|
@@ -17,5 +17,10 @@ namespace Discord.Commands |
|
|
{ |
|
|
{ |
|
|
Text = text; |
|
|
Text = text; |
|
|
} |
|
|
} |
|
|
|
|
|
public CommandAttribute(string text, bool ignoreExtraArgs) |
|
|
|
|
|
{ |
|
|
|
|
|
Text = text; |
|
|
|
|
|
IgnoreExtraArgs = ignoreExtraArgs; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |