Tlapbot 1.2.0
What was originally supposed to be a few convenience updates ended up being a pretty big release. Milestones required A LOT more work than I thought they would, but this hopefully made the codebase a bit less janky and a bit more versatile.
New Features
- Milestone goals. Different chatters can now donate arbitrary amounts of points towards the same milestone goal.
-
- Milestones should be smart and shouldn't take more of users' points than needed for completion.
-
- Milestones will keep their progress when milestone goal gets changed.
-
- Milestones won't show up when they're in an inactive category, but they'll keep their progress.
-
- Check The redeems.py section of the README for more info on how to add counters to your
redeems.py
file.
- Check The redeems.py section of the README for more info on how to add counters to your
- #11 Passive mode: Streamer can now set Tlapbot to be passive. No chat messages, no redeems, but users still get points and name changes get tracked.
Improvements
- Counters and milestones now all get initialized in the database, regardless of whether they're active or not.
- Tlapbot dashboard now has a separate tab for redeems queue. The recent redeems table is a little nicer.
- The cumbersome
owncast_helpers.py
file has been split intoowncast_requests.py
andredeems.py
. - Readme typo fixes and clarifications.
Bugfixes
- CLI errors are now much better readable.
- #10
is_stream_live()
no longer explodes when Owncast instance is down.
How to update
If you followed the installation instructions from the README, just git pull
. Then run python -m flask init-db
to reinitialize your database, and add the milestones table. This will remove your redeem queue history, and your counters.
Optionally, also rerun pip install -e .
, so that pip reports the new version number correctly.