Introducing deck-code-bot to CompetitiveHS!

AUTOBOTS

Hello r/CompetitiveHS!

I am a bot that translates your deck codes into card lists, including images and links to HearthPwn and the Hearthstone Wiki for each card. You don’t need any special syntax, just paste your deck code into your submission, comment, or PM, and if it’s a valid code, I’ll reply with the deck list. As an example, here’s a Midrange Hunter deck:

AAECAR8CRK8EDqgCtQO7A9kH6wfbCYEK/gy5tALquwLsuwLkwgLrwgKOwwIA

However, I’ll only translate the first deck code you include in your message! Also, if you don’t want me to reply to you, just include three hash symbols in a row (## # without the space) anywhere in your message and I’ll ignore it.

Please send any feedback / bug reports / suggestions to u/ziphion.

Thanks and enjoy!

Posted Jul 22, 2017, 3:42 PM UTC

25932
deck-code-botOP•

Format: Standard (Mammoth)

Class: Hunter (Rexxar)

ManaCard NameQtyLinks
1Alleycat2HP,Wiki
1Fire Fly2HP,Wiki
1Hungry Crab2HP,Wiki
2Crackling Razormaw2HP,Wiki
2Dire Wolf Alpha2HP,Wiki
2Golakka Crawler2HP,Wiki
2Kindly Grandmother2HP,Wiki
2Scavenging Hyena2HP,Wiki
3Animal Companion2HP,Wiki
3Eaglehorn Bow2HP,Wiki
3Kill Command2HP,Wiki
3Rat Pack2HP,Wiki
3Unleash the Hounds2HP,Wiki
4Houndmaster2HP,Wiki
5Leeroy Jenkins1HP,Wiki
5Stranglethorn Tiger1HP,Wiki

Deck Code: AAECAR8CRK8EDqgCtQO7A9kH6wfbCYEK/gy5tALquwLsuwLkwgLrwgKOwwIA


^(I am a bot. Comment/PM with a deck code and I'll decode it. If you don't want me to reply to you, include "###" anywhere in your message.)

55
AnnanFay•

Good bot.

6
GoodBot_BadBot•

Thank you AnnanFay for voting on deck-code-bot.

This bot wants to find the best and worst bots on Reddit. You can view results here.

2
roboticon•

Three hashes, you say?

So you won't reply to posts that use headers?

3
marcospolos•

This is incredible! Thanks so much for making this.

38
[deleted]•

[removed]

20
[deleted]•

[removed]

16
[deleted]•

[deleted]

1
[deleted]•

[removed]

2
Zhandaly•

Nice work!

13
Perfect_Wave•

Is this open source? Curious at how it works just for the fun of it.

Really good idea and awesome work!

5
ziphion•

Yep! Here's the source. I'm new to python so please forgive my newbish code!

3
roboticon•

You can put your credentials in their own file, e.g. credentials.py, and add that file to .gitignore. Then you can update the code to read from that file, and you'll be able to push your repo to GitHub without having to manually remove credentials from the code. (If you care about keeping GitHub up to date.)

2
ziphion•

Thanks!

1
Ermel668•

Very cool!

4
[deleted]•

[deleted]

1
deck-code-botOP•

Format: Standard (Mammoth)

Class: Hunter (Rexxar)

ManaCard NameQtyLinks
1Alleycat2HP,Wiki
1Fire Fly2HP,Wiki
1Hungry Crab2HP,Wiki
2Crackling Razormaw2HP,Wiki
2Dire Wolf Alpha2HP,Wiki
2Golakka Crawler2HP,Wiki
2Kindly Grandmother2HP,Wiki
2Scavenging Hyena2HP,Wiki
3Animal Companion2HP,Wiki
3Eaglehorn Bow2HP,Wiki
3Kill Command2HP,Wiki
3Rat Pack2HP,Wiki
3Unleash the Hounds2HP,Wiki
4Houndmaster2HP,Wiki
5Leeroy Jenkins1HP,Wiki
5Stranglethorn Tiger1HP,Wiki

Deck Code: AAECAR8CRK8EDqgCtQO7A9kH6wfbCYEK/gy5tALquwLsuwLkwgLrwgKOwwIA


^(I am a bot. Comment/PM with a deck code and I'll decode it. If you don't want me to reply to you, include "###" anywhere in your message.)

3
zebra_asylum•

Someone is exposing a lack of deduping :0

2
ziphion•

Yeah, I'm still working out how I want to handle duplicates, especially in cases like this where one is in a submission and one is in a comment (since I have separate streams for each of those).

1
zebra_asylum•

Maybe just keep a reference to first post and provide a perma link? Should result in less spam, but in the weird case a user links the same deck on accident in the same post they won't think it's broken

3
[deleted]•

[deleted]

1
inpositionhs•

AAECAR8IpAPJBMUI4KwC/q8ChbgCycIChsMCC/sB+wX7Bu0J/gyNrwKJtAK5tAKrwgLYwgLexAIA

1
deck-code-botOP•

Format: Standard (Mammoth)

Class: Hunter (Rexxar)

ManaCard NameQtyLinks
1Mistress of Mixtures2HP,Wiki
1Runic Egg2HP,Wiki
2Explosive Trap1HP,Wiki
2Grievous Bite1HP,Wiki
2Kindly Grandmother2HP,Wiki
2Loot Hoarder2HP,Wiki
2Sunfury Protector2HP,Wiki
3Deadly Shot1HP,Wiki
3Devilsaur Egg2HP,Wiki
3Eaglehorn Bow2HP,Wiki
3Spawn of N'Zoth2HP,Wiki
3Terrorscale Stalker2HP,Wiki
4Barnes1HP,Wiki
4Defender of Argus2HP,Wiki
4Spiritsinger Umbra1HP,Wiki
5Princess Huhuran1HP,Wiki
6Cairne Bloodhoof1HP,Wiki
6Savannah Highmane2HP,Wiki
10N'Zoth, the Corruptor1HP,Wiki

Deck Code: AAECAR8IpAPJBMUI4KwC/q8ChbgCycIChsMCC/sB+wX7Bu0J/gyNrwKJtAK5tAKrwgLYwgLexAIA


^(I am a bot. Comment/PM with a deck code and I'll decode it. If you don't want me to reply to you, include "###" anywhere in your message.)

1
rbennets•

AAECAR8CRK8EDqgCtQO7A9kH6wfbCYEK/gy5tALquwLsuwLkwgLrwgKOwwIA

1
deck-code-botOP•
1