Releases: zoton2/Twitch-Team-Hosting-Bot
Releases · zoton2/Twitch-Team-Hosting-Bot
v1.1.0-rc2
- We are now using Twitch's new PubSub to check for the online/offline status of channels. This is still in the early stage and is technically unsupported by Twitch, but has mostly worked OK in testing (besides a blip for a week or so). Some extra API backups already exist in the code, and more will be added in the future, just for safety. Using the PubSub means that channels are identified as being online/offline a lot quicker and we no longer need to check for offline channels for 4 minutes before we host on channels!
- Added a "logServerAccess" setting that can be specified in the
settings.json
file, which defaults to true. I personally found it annoying to have it logged all the time when I didn't need it, but some other people might do, so the option is there. - Made the backend of the program use usernames instead of display names. Sometimes a display name of a user will not be the same as their username, especially with the recent Asian display names setting. This change also affects the
settings.json
file, which will be properly converted on startup of the application if needed.
v1.1.0-rc1
- Added the ability to have a "custom" team. You can define an array of team channels in
login-details.json
(seelogin-details-example.json
) and then the bot will use that list of channels instead of querying Twitch for channels on that team. The team name will then become "custom-{name}" within the application itself, so the "team" variable can be whatever you want in this case. - Fix for new logs starting with the word "undefined" which broke the timestamp JavaScript parsing.
v1.0.3
- Changed the font used on the log pages to one that is a bit clearer and monospaced for easier reading.
- Made the date/timestamp on the log pages bold.
- The log pages now use some simple JavaScript to convert the date/timestamp into your local timezone.
- Fix for the bot sometimes seeing channels as being added/removed from a team when they actually weren't; this sometimes resulted in a channel being counted twice and messing up the hosting.
- Minor change on how incoming messages are checked (this shouldn't affect users on the front end).
- Updated tmi.js to v1.1.1 (@AlcaDesign).
v1.0.2
- Increased offline check before hosting to 5 times/4 minutes to make it safer.
- Added information about the current status of the team(s) to the web server's main page.
- Added a
modsAreAdmins
setting (see the README for more information). This change means that both admins and mods can have access to the admin commands, although the admin list will no longer default to mods if no admins are set. - Fixed it so that the bot account itself can use the admin commands if the
mainChannel
is set to another channel. - Changed the logging for if only one person on the team is live; before it would only log their viewer count if you had a preferred games list set.
- Some other minor checks to make sure the bot works as it should.