- All logging functionality has been moved into the Logger class
- Initiated globally as globals.logger()
- Logging format changed from `globals.log("message_str", "LEVEL")` => `logger.level("message_str")`
- Minor changes to Twitch authentication
- Platform logs associated to a message are now associated with platform-specific IDs
- Fixes for `!customvc`, specifically in relation to commands execution.
- Optimized logic
- Fixed limits for certain values like VC users limit
- Better code integrity: now self-references as a Cog
- Lots of minor other tweaks, adjustments, and improvements
- Ironed out some issues with registering certain events into the database
- Fixed the old Twitch re-auth token issue. Now automatically renews it and initiates the bot with it.
These issues has been pestering the project a while now as they required some workarounds. Should work smoother from here on out! (I hope ...)
- Dynamic accounts association
- Accounts can now be associated dynamically, allowing multiple accounts on the same platform to be associated to the same UUID.
- UUI system now supports any platform, eg. YouTube, TikTok, Kick, Twitter, etc.
- More robust user lookups with enhanced fault tolerance and allowance for NULL data.
- Optimized database structure with two tables for user association; one for UUID and basic info, another for platform-specific details.
- Enhanced logging functionality: logs now prefix the calling function.
- Enhanced user lookup debug messages, allowing easy query inspection and data validation.
- Other minor fixes
- Reorganized commands into separate files for better fault tolerance and feature expandability
- Added basic dynamic bot status
- Needs additional work. Currently very basic, planned features include fully dynamic mode with automatic alerts and such.
- Minor other tweaks
- Users can now search for fun facts using `!funfact search [keywords]` without brackets. Returns best match.
- Also added some new facts
- Minor tweaks to force-sync of Discord slash commands
- Moved some constants to the globals.Constants class
- config_data: returns the configuration dictionary
- bot_start_time: returns the epoch bot start time
- primary_discord_guild: returns a dict like `{"object": primary_guild_object, "id": primary_guild_int}`
*These is initiated under globals.constants*
- Improved on docstrings. Google format now standard
- Reverted all commands to purely textual until further notice
- `/help` is still additionally available as a slash command
- Logging functionality has been centralised to 'globals.log'
This should allow easy log integration into subsystems without the need of passing the function everywhere *phew*
- Ensured it fetches the correct commands and help configuration depending on platform.
- Removed certain duplicate checks that intiated functions twice or repeated value asignments.
- Added the @monitor_cmd flag to commands, allowing easy command runtime diagnostics, including execution time.
- Removed built-in Discord !help command
NOTE:
Basic implementation.
Help text is defined in:
- dictionary/help_twitch.json
- dictionary/help_discord.json