A lightweight, secure, and free script that automatically collect Hoyolab daily check in rewards. Supports Genshin Impact, Honkai Impact 3rd, and Honkai: Star Rail.
MIT License
406
stars
49
forks
source link
added option for discord ping on check-in error #9
started to get annoyed by the daily ping, so I made an option where it only pings when there is an error in the check-in process.
also removed the check for if discord_notify is true before calling the webhook because it became confusing with this addition and it was already checking whether discordWebhook had a value. I think its safe to assume that if someone enters a webhook URL they probably want the webhook message to be posted.
started to get annoyed by the daily ping, so I made an option where it only pings when there is an error in the check-in process.
also removed the check for if discord_notify is true before calling the webhook because it became confusing with this addition and it was already checking whether discordWebhook had a value. I think its safe to assume that if someone enters a webhook URL they probably want the webhook message to be posted.