From b411aa2128c2724bec0ecedb8cb4e1ffa59f3b53 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Wed, 26 Sep 2018 20:51:37 +0200 Subject: disconnected most vital calles from the Discord Bot --- DSACore/Auxiliary/CommandInfo.cs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 DSACore/Auxiliary/CommandInfo.cs (limited to 'DSACore/Auxiliary/CommandInfo.cs') 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); + } + } +} -- cgit v1.2.3-54-g00ecf