TTVDroptBot 2.0.0.3
Discord Webhooks, heroku, env vars, Start Arguments and bunch of fixes
Changes!
- Fixed Login in via Browser causing settings not being created correctly
- Fixed Errors causing bot to loop into infinity
- Fixed Error if one Drop had no live Channels
- Fixed Error if multiple Drops had same live channel, causing falsely all drop claimed event.
- Fixed Custom Channels showed as offline even if the weren't
- Fixed bug causing special characters in usernames to not work with the live check.
- Fixed bot showing unclaimed, even if claimed and no other drops available
- Reworked Retries, bot now reconnects correctly after connection lost or any request related error.
- Reworked userdata to be a class, more convenient
- Added DiscordWebhooks, provide your webhook url in settings.json. You can also specify what events to send via the webhookevents option in settings if you don't want everything logged.
- Added start Arguments like ./TTVDropBot --games --displayless, more info with --help or here
- Added Heroku Deploy button. More details here
- Added a RetryDelay to settings.json
- Added a PriorityList Check, checking if listed campaign exists
- Added a All live Drops claimed Check, fixing some errors.
- Added flawless Channel Switch, if current channel offline switches to new one without pausing progress.
- Added settings as env vars, useful for heroku
- Added ability to show your auth token after login via start arg or env, also useful for system like heroku were no twitch-session.json can be saved.
- Added more Claim Checks to handle basically every situation
- Changed default value for Logtofile to true
- Changed WaitforOnlineChannels to WaitforChannels, meaning if the bot should wait or switch game.
- Removed useless options from CustomChannels.json and settings
- Updated Read me accordingly.
About Bugs:
- If you find a bug post it in the discord or contact me on discord Zarg#8467 , i will try to fix it asap
Github:
⚠️ In order for the new version to work delete any old twitch-session or settings.json you have left from an older version