This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Update CommandAttribute.cs
Nullable<T> is not valid for Attributes, this is my suggested fix.
tags/2.0
JustNrik
Finite Reality
7 years ago
parent
db90eab953
commit
4259b8cb0c
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/Discord.Net.Commands/Attributes/CommandAttribute.cs
+ 5
- 0
src/Discord.Net.Commands/Attributes/CommandAttribute.cs
View File
@@ -17,5 +17,10 @@ namespace Discord.Commands
{
Text = text;
}
public CommandAttribute(string text, bool ignoreExtraArgs)
{
Text = text;
IgnoreExtraArgs = ignoreExtraArgs;
}
}
}
Write
Preview
Loading…
Cancel
Save