diff options
author | TrueDoctor <d-kobert@web.de> | 2018-06-07 12:37:39 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-06-07 12:37:39 +0200 |
commit | 3c229a0952a59ce32d2b2b2a9399833962ccb0e1 (patch) | |
tree | bf78b60088a34434a12b9d5ebe281a92f23ebd77 /DiscoBot/Commands/Gm.cs | |
parent | c1d0851ec35c410733da53b919541b8fab491407 (diff) |
fixed clerar command
changed Leben und asp to IChar extension
Diffstat (limited to 'DiscoBot/Commands/Gm.cs')
-rw-r--r-- | DiscoBot/Commands/Gm.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DiscoBot/Commands/Gm.cs b/DiscoBot/Commands/Gm.cs index b0d9def..af152fa 100644 --- a/DiscoBot/Commands/Gm.cs +++ b/DiscoBot/Commands/Gm.cs @@ -97,7 +97,7 @@ temp = erschwernis.ToString(); } - res = le.get_LE_Text(name, waffe.Trim() + temp); + res = Dsa.Chars.OrderBy(x => SpellCorrect.CompareEasy(Dsa.Relation[this.Context.User.Username], x.Name)).First().get_LE_Text(waffe.Trim() + temp); break; case "ae": @@ -111,7 +111,7 @@ temp = erschwernis.ToString(); } - res = ae.get_AE_Text(name, waffe.Trim() + temp); + res = Dsa.Chars.OrderBy(x => SpellCorrect.CompareEasy(Dsa.Relation[this.Context.User.Username], x.Name)).First().get_AE_Text(waffe.Trim() + temp); break; default: |