Browse Source

Update CommandAttribute.cs

Nullable<T> is not valid for Attributes, this is my suggested fix.
tags/2.0
JustNrik Finite Reality 6 years ago
parent
commit
4259b8cb0c
1 changed files with 5 additions and 0 deletions
  1. +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;
}
}
}

Loading…
Cancel
Save