auribuo / hsr-alert-bot

A Discord bot for alerting users when new Honkai: Star Rail redeem codes drop
MIT License
4 stars 0 forks source link

Not working at the moment #1

Closed uesu closed 4 months ago

uesu commented 4 months ago

Is it still "Work in Progress" state? Can't enable alerts and has internal error

auribuo commented 4 months ago

Yes, the bot is still in experimental phase. It started as a handy thing for myself but it seems that the bot is actually getting attention.

The error seems a failure in retrieving guild information and I will look into it and try to fix it.

uesu commented 4 months ago

I see, no worries tho, please do update me if it's fixed! also you can upload your bot on top.gg for more exposure

auribuo commented 4 months ago

I made some changes to the config code. Try again and let me know if the issue persists!

uesu commented 4 months ago

I tested it, hmm still can't, tried on public and private, same issue

2024-02-15 06_10_19-(654) Discord _ Permissions _ jieun's publishing house 2024-02-15 06_10_14-(654) Discord _ Permissions _ jieun's publishing house 2024-02-15 06_10_01-(654) Discord _ #hsr-codes _ jieun's publishing house

auribuo commented 4 months ago

From the logs, it looks like the bot could not resolve guild information. It probably happens because in its current state, the bot updates the config only on code retrieval. I will update the code tomorrow to account for this. It will probably be a bandaid fix until I find the event handler for when the bot joins a server. Illtry to restart the bot to force an update and force your server into the config.

uesu commented 4 months ago

Oh I see, no worries, I'm happy to help and provide feedback to make sure everything is working for everyone who uses your bot to be 100% working. Do update me

auribuo commented 4 months ago

Issue should be fixed now. The bot checks on every interaction if the guild is in the config so it should update instantly. Try it out and let me know!

uesu commented 4 months ago

I just checked, and it's working now, thank you! I will notify you if the bot sends a code when there is a new code

2024-02-15 18_48_12-(644) Discord _ #hsr-codes _ jieun's publishing house

Suggestion: A feature to get codes that are still fresh or those codes that do not expire, it may be called manual to get codes manually?

Also, is the code like the link that takes you to the gift website and automatically inputs the code? Like this

2024-02-15 19_05_28-(645) Discord _ #genshin-codes _ jieun's publishing house 2024-02-15 19_05_40-(645) Discord _ #genshin-codes _ jieun's publishing house

Also again, for gathering codes, include this website if you haven't already, Prydwen, which shows the active codes or those codes that do not expire

2024-02-15 18_51_03-Honkai_ Star Rail Wiki and Database _ Prydwen Institute

Also!! hmm will there be a Genshin Impact and Zenless Zone Zero code bot in the future? Alternatively, it could be all in one bot for the three Hoyoverse games! I've never seen a bot with the three games feature for codes or like news yet before

auribuo commented 4 months ago

I'm happy to hear that the issue was solved. For the features you mentioned I opened two new issues: #2 and #3 to track progress on those features.

uesu commented 4 months ago

Thanks! no rush, but it would be cool indeed to have those additional 2

I'm happy to hear that the issue was solved. For the features you mentioned I opened two new issues: #2 and #3 to track progress on those features.