diff options
author | TrueDoctor <d-kobert@web.de> | 2018-06-11 18:28:13 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-06-11 18:28:13 +0200 |
commit | af937e7a8519ea3b06be651eb21b54132295c510 (patch) | |
tree | 17dbc28a5e9a75a1a42813a233b1c41390e673c4 /DiscoBot/Commands/Gm.cs | |
parent | ad4cb92819976b8add36f047e59335104aa171fe (diff) | |
parent | ff80592d541c79653ef0a7c04e0938d7249069ef (diff) |
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Commands/Gm.cs')
-rw-r--r-- | DiscoBot/Commands/Gm.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DiscoBot/Commands/Gm.cs b/DiscoBot/Commands/Gm.cs index af152fa..212bc83 100644 --- a/DiscoBot/Commands/Gm.cs +++ b/DiscoBot/Commands/Gm.cs @@ -34,6 +34,12 @@ name = givenName.Aggregate((s, c) => s + c); } + if (name.ToLower().Equals("man") || name.ToLower().Equals("help")) + { + return this.ReplyAsync("```xl\n" + Help.Get_Specific_Help("ich bin") + "\n```"); + + } + var character = Dsa.Chars.OrderBy(x => SpellCorrect.CompareEasy(name, x.Name)).First(); // usage of compareEasy |