create account

Splinterlands Discord Bot updated and repaired by jedigeiss

View this thread on: hive.blogpeakd.comecency.com
· @jedigeiss ·
$8.15
Splinterlands Discord Bot updated and repaired
![I robot](https://i.ibb.co/fvcq0c2/Robi.png)

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](https://files.peakd.com/file/peakd-hive/jedigeiss/fP86c9yZ-Screenshot20from202020-11-032015-32-48.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](https://i.ibb.co/fvcq0c2/Robi.png)



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](https://files.peakd.com/file/peakd-hive/jedigeiss/fP86c9yZ-Screenshot20from202020-11-032015-32-48.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
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 62 others
properties (23)
authorjedigeiss
permlinksplinterlands-discord-bot-updated-and-repaired
categoryaplinterlands
json_metadata{"app":"peakd/2020.10.9","format":"markdown","tags":["aplinterlands","legendarydragons","deutsch","oss","opensource"],"image":["https://i.ibb.co/fvcq0c2/Robi.png","https://files.peakd.com/file/peakd-hive/jedigeiss/fP86c9yZ-Screenshot20from202020-11-032015-32-48.png"]}
created2020-11-03 14:35:48
last_update2020-11-03 14:35:48
depth0
children8
last_payout2020-11-10 14:35:48
cashout_time1969-12-31 23:59:59
total_payout_value4.224 HBD
curator_payout_value3.926 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,041
author_reputation333,151,520,539,359
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,374,755
net_rshares38,381,456,330,809
author_curate_reward""
vote details (126)
@beerlover ·
<div class='pull-right'>https://files.peakd.com/file/peakd-hive/beerlover/yiuU6bdf-beerlover20gives20BEER.gif<p><sup><a href='https://hive-engine.com/?p=market&t=BEER'>View or trade </a> <code>BEER</code>.</sup></p></div><center><br> <p> Hey @jedigeiss, here is a little bit of <code>BEER</code> from @louis88 for you. Enjoy it!</p> <p>Learn how to <a href='https://peakd.com/beer/@beerlover/what-is-proof-of-stake-with-beer'>earn <b>FREE BEER</b> each day </a> by staking your <code>BEER</code>.</p> </center><div></div>
properties (22)
authorbeerlover
permlinkre-splinterlands-discord-bot-updated-and-repaired-20201103t152545z
categoryaplinterlands
json_metadata"{"app": "beem/0.23.11"}"
created2020-11-03 15:25:48
last_update2020-11-03 15:25:48
depth1
children0
last_payout2020-11-10 15:25:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length521
author_reputation25,840,107,447,867
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,375,358
net_rshares0
@hatoto ·
Super! Ich freu mich!
properties (22)
authorhatoto
permlinkre-jedigeiss-qj88dc
categoryaplinterlands
json_metadata{"tags":["aplinterlands"],"app":"peakd/2020.10.9"}
created2020-11-03 15:29:36
last_update2020-11-03 15:29:36
depth1
children0
last_payout2020-11-10 15:29:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length21
author_reputation104,734,254,861,736
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,375,396
net_rshares0
@hivebuzz ·
Congratulations @jedigeiss! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@jedigeiss/upvoted.png?202011021353"></td><td>You received more than 45000 upvotes. Your next target is to reach 50000 upvotes.</td></tr>
<tr><td><img src="https://images.hive.blog/60x60/http://hivebuzz.me/badges/toppayoutday.png"></td><td>Your post got the highest payout of the day</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@jedigeiss) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Do not miss the last post from @hivebuzz:**
<table><tr><td><a href="/hivebuzz/@hivebuzz/pud-202011-feedback"><img src="https://images.hive.blog/64x128/https://i.imgur.com/lZQYVmN.png"></a></td><td><a href="/hivebuzz/@hivebuzz/pud-202011-feedback">Feedback from the November 1st Hive Power Up Day</a></td></tr></table>
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-jedigeiss-20201103t144837000z
categoryaplinterlands
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2020-11-03 14:48:36
last_update2020-11-03 14:48:36
depth1
children0
last_payout2020-11-10 14:48:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,157
author_reputation369,452,249,787,426
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,374,923
net_rshares0
@louis88 ·
Danke für deine Arbeit! Eine echte Bereicherung!
!BEER
👍  
properties (23)
authorlouis88
permlinkre-jedigeiss-qj886e
categoryaplinterlands
json_metadata{"tags":["aplinterlands"],"app":"peakd/2020.10.9"}
created2020-11-03 15:25:27
last_update2020-11-03 15:25:27
depth1
children2
last_payout2020-11-10 15:25:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length54
author_reputation1,200,289,238,626,373
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,375,352
net_rshares4,248,950,849
author_curate_reward""
vote details (1)
@steem-bootcamp ·
![image.png](https://images.hive.blog/DQmNvk94uq6VAgS3t4zAeQCezGCToqGNsUkv4fkPo4NwVDm/image.png)
👎  , ,
properties (23)
authorsteem-bootcamp
permlinkqjqatz
categoryaplinterlands
json_metadata{"image":{},"app":"hiveblog/0.1"}
created2020-11-13 09:39:36
last_update2020-11-13 09:39:36
depth2
children1
last_payout2020-11-20 09:39:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length96
author_reputation5,380,630,314,722
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,509,642
net_rshares-863,055,960,030
author_curate_reward""
vote details (3)
@steem-bootcamp ·
![image.png](https://images.hive.blog/DQmNvk94uq6VAgS3t4zAeQCezGCToqGNsUkv4fkPo4NwVDm/image.png)
properties (22)
authorsteem-bootcamp
permlinkqjqldh
categoryaplinterlands
json_metadata{"image":{},"app":"hiveblog/0.1"}
created2020-11-13 13:27:18
last_update2020-11-13 13:27:18
depth3
children0
last_payout2020-11-20 13:27:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length96
author_reputation5,380,630,314,722
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,511,708
net_rshares0
@mima2606 ·
Klasse Arbeit!


LG  Michael 
invest_vote
properties (22)
authormima2606
permlinkre-jedigeiss-qj8ixw
categoryaplinterlands
json_metadata{"tags":["aplinterlands"],"app":"peakd/2020.10.9"}
created2020-11-03 19:18:00
last_update2020-11-03 19:18:00
depth1
children0
last_payout2020-11-10 19:18:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation178,748,423,282,323
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,377,978
net_rshares0
@poshbot ·
https://twitter.com/Kaesetopf/status/1323648435455725568
properties (22)
authorposhbot
permlinkre-splinterlands-discord-bot-updated-and-repaired-20201103t152922z
categoryaplinterlands
json_metadata"{"app": "beem/0.24.8"}"
created2020-11-03 15:29:21
last_update2020-11-03 15:29:21
depth1
children0
last_payout2020-11-10 15:29:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation5,554,335,374,496
root_title"Splinterlands Discord Bot updated and repaired"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,375,391
net_rshares0