diff options
author | TrueDoctor <d-kobert@web.de> | 2018-06-18 11:39:41 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-06-18 11:39:41 +0200 |
commit | 68e49d3b0936101deba1251e95b9788716c0722a (patch) | |
tree | 431d8b26148505ad8b5584fd9e7c2db644bcba15 /DiscoBot/Commands/Help.cs | |
parent | ba1f440d0762ab77cd3f08734043df7db5b4329e (diff) |
reworked Properties, to split each fiel into a different File
Diffstat (limited to 'DiscoBot/Commands/Help.cs')
-rw-r--r-- | DiscoBot/Commands/Help.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DiscoBot/Commands/Help.cs b/DiscoBot/Commands/Help.cs index bf58070..aa168fc 100644 --- a/DiscoBot/Commands/Help.cs +++ b/DiscoBot/Commands/Help.cs @@ -46,14 +46,14 @@ namespace DiscoBot.Commands public static string Get_Specific_Help(string command) { // return command specific help - var com = Dsa.Properties.CommandInfos.OrderBy(x => SpellCorrect.CompareEasy(x.Name, command.ToLower())).First(); // get best fit command + var com = DSA_Game.Save.Properties.CommandInfos.OrderBy(x => SpellCorrect.CompareEasy(x.Name, command.ToLower())).First(); // get best fit command return com.GetDescription(); } public static string Get_Generic_Help() { string res = ""; - foreach (var com in Dsa.Properties.CommandInfos) + foreach (var com in DSA_Game.Save.Properties.CommandInfos) { int first_column_width = 8; res += ("!" + com.Name + ": ").AddSpaces(first_column_width) + com.Brief; |