cheerlights / cheerlights-telegram

MIT License
2 stars 0 forks source link

Remove reliance on X/Twitter #1

Open cyber199 opened 4 days ago

cyber199 commented 4 days ago

So I noticed the official Telegram bot found at @CheerLight_Bot was no longer working. It will fetch the current colour, but won't set a new colour. Looking at the code here it seems that all it does is make a post on Twitter with some account (presumably the official Cheerlights account). With the changes to the API made during the transition to X that seem to have resulted in the main way to interact with Cheerlights becoming Discord, I am assuming this reliance on posting to X is the reason why it is broken.

I am unlikely to make a Discord account in the foreseeable future, so it would be nice if the Telegram bot could be made to function independently of other services. My Python is rusty, so I may not be able to aid with the code, but if I can donate or help in other ways I am willing to.

nothans commented 4 days ago

I am checking on this issue. The repo code might be outdated but there is no reliance on Twitter anymore. There were updates on Telegram yesterday. Have you tried the bot today? Thanks for letting us know.

cyber199 commented 3 days ago

Still seems not happy. Even sending a /help to the bot seems to not have a response now.

n8acl commented 3 days ago

The code here is very outdated. The bot was just updated over the weekend using a different library and twitter was removed a while ago. The bot is working. To invoke the bot use /start.