Splinterlands Discord Bot updated and repaired

I robot

Hi all,

I am running for two years a Discord Bot for the Splinterlands Game (formerly known as Steemmonsters (I know that nobody wants to use that name anymore)), the last update is quite a bit ago and I used a bug that occurred lately to not only repair this unforeseen behavior but also update the bot to the latest status in-game.

Now when asking for the current card value of your stack you will also get a detailed number for your cards of the Dice edition. I also removed some unnecessary lines of code for functions that we are not using any longer and added some additional lines for a better understanding.

Screenshot from 20201103 153248.png

Once I am completely through with the trash removal I will also publish this on Github, currently, there is only an older version of mine available.

Yours
Jan


I robot

Hallo zusammen,

ich betreibe seit mehr als 2 Jahren einen Discord Bot für das Game Splinterlands (früher auch als Steemmonsters bekannt (ich weiss, den Namen wollen nur noch wenige hören)). Das letzte Update war doch schon eine Weile her und ich hab daher einen Bug genutzt um auch ein Update auf den letzten In-Game Status durchzuführen.

Bei Anfrage des gegenwärtigen Werts des Kartenstapels werden jetzt auch die Karten der Dice Edition korrekt ausgewertet und aufgelistet (Die Berechnung war vorher schon korrekt, es wird jetzt nur richtig ausgewiesen). Ich hab darüberhinaus auch noch ein wenig aufgeräumt und unnötige Zeilen entfernt und andere hinzugefügt um eine bessere Lesbarkeit des Codes zu erreichen.

Screenshot from 20201103 153248.png

Wenn ich damit komplett fertig bin stelle ich das Update auch wieder auf Github zur Verfügung, derzeit liegt da nur eine alte Version.

Lg

Jan

H2
H3
H4
3 columns
2 columns
1 column
8 Comments
Ecency