Show HN: Discord Wordle Result Bot
github.comHi HN! I created a self-hostable discord bot for scraping and calculating wordle result statistics[0]. The deployment process makes use of docker, and the setup process is thoroughly described in the readme[1].
A group of my friends and I post our wordle results into a channel on our discord, and we've deliberated in the past who has the best score, opener, etc. I used this project as an excuse to explore the discord.py package[2]. It skips non-wordle related messages and uses some checks to determine if the message is a share result, if it's a malformed result, etc. The project only currently leverages the discord.py package for scraping messages from a configured channel, but I have intentions of making it command accessible and possibly a public bot if there's enough interest.
So far, it currently calculates:
- Count
- Score (average number of guesses across all samples)
- Off by 1 count (Number of times the second to last guess is off by 1)
- Average % across each guess tier (1,2,3,4,5,6,X)
- Average value by each guess tier
- X-less streak (breaks on x result)
- Post streak (breaks on missing a wordle post)
- Combined streak (what the wordle website uses (x-less and post))
- Graphs of guess results per user
Check the readme for example outputs to see some stat breakdowns[3].
Let me know your thoughts! I'd love to hear any suggestions for future updates or improvements.
[0]: https://github.com/ramity/discord-wordle-processor
[1]: https://github.com/ramity/discord-wordle-processor#requireme...
[2]: https://discordpy.readthedocs.io/en/stable/intro.html
[3]: https://github.com/ramity/discord-wordle-processor#example-o...
No comments yet.