diff options
author | TrueDoctor <d-kobert@web.de> | 2018-06-11 18:27:45 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-06-11 18:27:45 +0200 |
commit | ad4cb92819976b8add36f047e59335104aa171fe (patch) | |
tree | 10f877b7adb2b57146419d736a15bc26008b8fc7 /DiscoBot/Commands | |
parent | d86b8c8702a01fadba4ce17f3e82a739d7681da9 (diff) |
store Token local
Diffstat (limited to 'DiscoBot/Commands')
-rw-r--r-- | DiscoBot/Commands/LebenUndAstral.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/DiscoBot/Commands/LebenUndAstral.cs b/DiscoBot/Commands/LebenUndAstral.cs index fd5e502..86fe6f2 100644 --- a/DiscoBot/Commands/LebenUndAstral.cs +++ b/DiscoBot/Commands/LebenUndAstral.cs @@ -22,11 +22,8 @@ if (prop.ToLower().Equals("help") || prop.ToLower().Equals("man")) { - await this.ReplyAsync("```xl\n" + Help.Get_Specific_Help("LE") + "\n```"); return; - - } //In case the input is badly formated @@ -53,7 +50,6 @@ if (prop.ToLower().Equals("help") || prop.ToLower().Equals("man")) { - await this.ReplyAsync("```xl\n" + Help.Get_Specific_Help("AE") + "\n```"); return; } @@ -84,7 +80,6 @@ //If there is actual input we process it if (prop.Length > 0) { - res += "LE: "; res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis + " -> "; @@ -111,12 +106,12 @@ character.Lebenspunkte_Aktuell = character.Lebenspunkte_Aktuell + Convert.ToInt32(prop); } } - res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis; + res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis; } - //Set to new value regardless of original else { + // Set to new value regardless of original character.Lebenspunkte_Aktuell = Convert.ToInt32(prop); res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis; |