summaryrefslogtreecommitdiff
path: root/DSACore/Auxiliary/CommandInfo.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-26 20:51:37 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-26 20:51:37 +0200
commitb411aa2128c2724bec0ecedb8cb4e1ffa59f3b53 (patch)
tree14e0a0cca2cf66b95fda402c8c7d7b6bd5b7b222 /DSACore/Auxiliary/CommandInfo.cs
parent92e8bb7523c775014ccf68355e3f0178ebf4a61c (diff)
disconnected most vital calles from the Discord Bot
Diffstat (limited to 'DSACore/Auxiliary/CommandInfo.cs')
-rw-r--r--DSACore/Auxiliary/CommandInfo.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/DSACore/Auxiliary/CommandInfo.cs b/DSACore/Auxiliary/CommandInfo.cs
new file mode 100644
index 0000000..a83e30a
--- /dev/null
+++ b/DSACore/Auxiliary/CommandInfo.cs
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DSACore.Auxiliary
+{
+ public struct CommandInfo
+ {
+ public CommandInfo(string name, string brief, string[] description, string scope)
+ {
+ this.Name = name;
+ this.Scope = scope;
+ this.Brief = brief;
+ this.Description = description;
+ }
+
+ public string Name { get; }
+
+ public string Scope { get; }
+
+ public string Brief { get; }
+
+ public string[] Description { get; }
+
+ public string GetDescription()
+ {
+ return this.Description.Aggregate((s, c) => s + c);
+ }
+ }
+}