spalmurray / wordle-bot

A Discord bot to track you and your friends' Wordle scores.
MIT License
7 stars 11 forks source link

Tracking History (enhancement) #6

Open vortrex opened 2 years ago

vortrex commented 2 years ago

Hey! Glad to see you're actively monitoring this, I was about to make a pull request to try and add some features, but I figure I might just suggest them to you first haha.

My number one is "recording already present scores in the server". It's going to be more of a pain to get everyone's scores reposted by them personally to get an accurate read on everyone's scores. So how hard do you think it would be to have the bot read the contents of a channel when it joins to make an initial scoreboard?

spalmurray commented 2 years ago

Hi @vortrex! You bring up an important shortcoming of the bot. When I first deployed the bot I told my family they would have to repost their scores for the bot to store them and none of them actually did it... Certainly solving this annoyance would be an excellent feature.

Regarding actual implementation, I'm not sure what the best way to do this would be. I will spend some time thinking about this. At first consideration, maybe a command that will get wordle-bot to look for Wordle scores in the whole history of the chat channel the command was sent in. I think this is possible with the Discord API. I'm not sure if this could be triggered on bot join. I will look into all of these details and hopefully come up with some solution.

If you have any suggestions, ideas, or even want to help contribute- let me know! Otherwise, I will keep this thread posted as I work on this. :)

vortrex commented 2 years ago
Hmm, instead of trying to figure out the bot API, maybe an initialize command that just parses the whole channel? Won’t have time to look into it this week, but I can try and look into it next week. I am relatively new to python and brand new to dsic bots haha, so sadly not much prio to pull from 😅 But yeah, I’d be happy to help contribute!  Best Regards,Sean Nored From: Spencer MurraySent: Thursday, February 17, 2022 12:49 AMTo: spalmurray/wordle-botCc: vortrex; MentionSubject: Re: [spalmurray/wordle-bot] Tracking History (enhancement) (Issue #6) Hi @vortrex! You bring up an important shortcoming of the bot. When I first deployed the bot I told my family they would have to repost their scores for the bot to store them and none of them actually did it... Certainly solving this annoyance would be an excellent feature.Regarding actual implementation, I'm not sure what the best way to do this would be. I will spend some time thinking about this. At first consideration, maybe a command that will get wordle-bot to look for Wordle scores in the whole history of the chat channel the command was sent in. I think this is possible with the Discord API. I'm not sure if this could be triggered on bot join. I will look into all of these details and hopefully come up with some solution.If you have any suggestions, ideas, or even want to help contribute- let me know! Otherwise, I will keep this thread posted as I work on this. :)—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: ***@***.***>