Skip to content

Tlapbot 1.2.0

Compare
Choose a tag to compare
@SleepyLili SleepyLili released this 28 Mar 13:23
· 36 commits to master since this release

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.
  • #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 into owncast_requests.py and redeems.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.

⚠️NOTE: The .whl file is included with the release for completeness sake, you don't need to download it. Recommended install instructions are written in the README.