Changelog - Version 5.1 (2024-11-18)
New Features:
- User Count Variable: Introduced the
(usercount)variable for custom commands. This variable allows you to track and display how many times a user has used a specific command. - Heartrate Monitoring: Integrated with HypeRate to enable heartrate monitoring.
- A new
!heartratecommand displays the streamer’s current heart rate from HypeRate. - Requires a HypeRate account and API key configuration.
- A new
- Watch Time Tracking: The bot now tracks the watch time of users in the chat, both live and offline.
- A new
!watchtimecommand allows users to see their total watch time.
- A new
- Spotify Integration: Added Spotify integration to display the currently playing song and request songs.
- The
!songcommand now prioritizes showing the song from Spotify if it’s playing. - A new
!songrequest(or!sr) command allows users to request songs to be added to the Spotify queue.
- The
Enhancements & Updates:
- Command Permissions: Updated all built-in commands to include permission settings from the database. This allows for more granular control over who can use each command.
- To-Do List: Improved the to-do list functionality with the following changes:
- Added the ability to specify a category when adding a task (e.g.,
!todo add "Task description" 2). - Updated the
!todo editcommand to require a comma between the task ID and the new description (e.g.,!todo edit 1, New task description). - Added a confirmation step for removing tasks using
!todo removefollowed by!todo confirm. - The
!todo viewcommand now displays the category of the task.
- Added the ability to specify a category when adding a task (e.g.,
- Stream Marker: Moved the Twitch stream marker creation logic to a dedicated function for better code organization and reusability.
- URL Blocking: Improved the URL blocking feature with a more robust function to match URLs and domains against the whitelist and blacklist.
- Joke Command: Added blacklisting functionality to the
!jokecommand. Users can now specify categories of jokes they don’t want to see.
Bug Fixes:
- Weather Command: Fixed an issue where the
!weathercommand would not properly handle invalid or unknown locations. The bot will now inform the user if the location is not found.
Note: This changelog highlights the key changes in version 5.1. For a detailed view of all code changes, please refer to the commit history.