diff options
author | Kobert-P <kassiaK@yahoo.de> | 2018-06-07 20:31:22 +0200 |
---|---|---|
committer | Kobert-P <kassiaK@yahoo.de> | 2018-06-07 20:31:22 +0200 |
commit | 4c43b2130321948d46d6e59d15068c57b5a07778 (patch) | |
tree | 65f2b46ccec1610624edc67fa54ab338dc29ce1a /DiscoBot/Auxiliary | |
parent | d86b8c8702a01fadba4ce17f3e82a739d7681da9 (diff) |
Help.json now contains a brief description that is output for global !help
Diffstat (limited to 'DiscoBot/Auxiliary')
-rw-r--r-- | DiscoBot/Auxiliary/CommandInfo.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/DiscoBot/Auxiliary/CommandInfo.cs b/DiscoBot/Auxiliary/CommandInfo.cs index 90fbbc7..dfed417 100644 --- a/DiscoBot/Auxiliary/CommandInfo.cs +++ b/DiscoBot/Auxiliary/CommandInfo.cs @@ -8,10 +8,11 @@ namespace DiscoBot.Auxiliary { public struct CommandInfo { - public CommandInfo(string name, string[] description, string scope) + public CommandInfo(string name, string brief, string[] description, string scope) { this.Name = name; this.Scope = scope; + this.Brief = brief; this.Description = description; } @@ -19,6 +20,8 @@ namespace DiscoBot.Auxiliary public string Scope { get; } + public string Brief { get; } + public string[] Description { get; } public string GetDescription() |