summaryrefslogtreecommitdiff
path: root/DSACore/Auxiliary/CommandInfo.cs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
committernatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
commit1509b5ef3d7e9e71d9294e234ec0e39f2d831998 (patch)
tree78300ffff230958101b422a4e6026925b287822f /DSACore/Auxiliary/CommandInfo.cs
parentc3bb858bb54dc8c64bbd48054c2c58dc0073f09c (diff)
parentc4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff)
Merge branch 'scribble' of https://github.com/TrueDoctor/DiscoBot into scribble
Diffstat (limited to 'DSACore/Auxiliary/CommandInfo.cs')
-rw-r--r--DSACore/Auxiliary/CommandInfo.cs18
1 files changed, 7 insertions, 11 deletions
diff --git a/DSACore/Auxiliary/CommandInfo.cs b/DSACore/Auxiliary/CommandInfo.cs
index a83e30a..1472587 100644
--- a/DSACore/Auxiliary/CommandInfo.cs
+++ b/DSACore/Auxiliary/CommandInfo.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Linq;
namespace DSACore.Auxiliary
{
@@ -10,10 +6,10 @@ namespace DSACore.Auxiliary
{
public CommandInfo(string name, string brief, string[] description, string scope)
{
- this.Name = name;
- this.Scope = scope;
- this.Brief = brief;
- this.Description = description;
+ Name = name;
+ Scope = scope;
+ Brief = brief;
+ Description = description;
}
public string Name { get; }
@@ -26,7 +22,7 @@ namespace DSACore.Auxiliary
public string GetDescription()
{
- return this.Description.Aggregate((s, c) => s + c);
+ return Description.Aggregate((s, c) => s + c);
}
}
-}
+} \ No newline at end of file