Changelog - Version 5.0 (2024-10-17)
Happy Birthday! š This release marks a major milestone for the bot, celebrating its 1 year anniversary! š
Public Launch! š After a successful closed beta, the bot is now officially available to the public!
New Features
- Premium Features: To ensure the sustainability of the bot and support ongoing development, certain features now require a premium subscription to the Developerās Twitch channel. This helps cover the costs associated with providing these enhanced functionalities. You can subscribe here to unlock these features!
Enhancements & Updates
- Updated
VERSIONvariable to ā5.0ā. - Premium Feature Gating: Implemented a check (
check_premium_feature) to determine user subscription status and grant access to premium features accordingly. - Song Command: The
!songcommand is now a premium feature, requiring at least a Tier 1 subscription to use. - Weather Command: The
!weathercommand is now a premium feature, requiring at least a Tier 1 subscription to use. - AI Features: All AI-powered features are now premium, requiring at least a Tier 2 subscription to use.
- AutoMod Integration: Added a Twitch Event Sub integration for āautomod.message.holdā, āchannel.suspicious_user.messageā and āchannel.chat.user_message_holdā to automatically ban users whose messages are held by AutoMod for matching known spam patterns. This ensures consistent spam protection even when messages are caught in the AutoMod queue.
- Improved Mod Event Handling: Enhanced the handling of āchannel.moderateā events to be more robust and prevent missing Discord notifications. This includes using
.get()with default values to avoid potential errors from missing data and adding logging for incomplete events to aid in debugging. - Custom Command Variables: Introduced more custom command variables to enhance bot responses with dynamic elements.
- Random Percentage:
(random.percent)generates a random percentage between 0 and 100. You can also specify a range using(random.percent.x-y), where x and y are the lower and upper bounds. - Random Number:
(random.number)generates a random number between 0 and 100. Similar to the percentage variable, you can define a range with(random.number.x-y). - Random Pick:
(random.pick.item1.item2.item3)randomly selects and inserts one of the provided items. Separate each item with a period. - Math:
(math.x+y)evaluates the mathematical expression and inserts the result. Currently supports basic arithmetic operations.
- Random Percentage:
- Subathon Timer System: Fixed and improved the subathon timer system.
- Added automatic time addition from Twitch Cheer and Twitch Sub events.
Note: This changelog highlights the key changes in version 5.0. For a detailed view of all code changes, please refer to the commit history.