- [READABILITY] Separated the GIF limiter message handler into several functions
- [PERFORMANCE] Convert GIF limiter settings dictionaries in constants.py instead of in the cog itself
- [BUG FIX] Added locks to prevent race conditions between the message handler and routine cleanup function
docs(PERMISSIONS.md): add new documentation file explaining the permissions management system
refactor(schema.prisma): simplify GuildConfig model by removing unnecessary fields and adding permission level roles fields for better permissions management
feat(config.py): add ConfigSelectMenu and ConfigSelectView classes for guild role configuration
refactor(config.py): replace individual role setting commands with a single command using the new classes
chore(config.py): comment out old role setting commands for reference, to be removed in future commits
refactor: consolidate channel setting commands into a single command for better maintainability
feat: add a new command to set all roles and channels using a select menu for improved user experience
feat: add role configuration options for different permission levels
This commit introduces the ability to configure roles for different permission levels (0-9) in the application. This allows for more granular control over user permissions and enhances the flexibility of the role management system.
refactor(client.py): conditionally set log_queries based on DEBUG constant for better control over logging in different environments
refactor(guild_config.py): simplify method and variable names for readability and maintainability
style(guild_config.py): improve code formatting for better readability
refactor(guild_config.py): simplify variable names by removing redundant 'guild_' prefix
chore(guild_config.py): comment out unused methods to improve code readability and performance
refactor(guild_config.py): simplify field names for better readability and consistency
feat(guild_config.py): comment out unused role retrieval methods to improve performance
chore(guild_config.py): add commented out code for future permission level roles feature
fix(main.py): uncomment debug related imports and function calls to enable debugging
feat(constants.py): change default value of DEBUG constant to True to enable debugging by default
docs(cases.py): add docstrings to methods for better code understanding
style(cases.py): refactor method parameters to multiline for better readability
style(query.py): change usage instruction from <search_term> to [search_term] to indicate optional parameter
feat(settings.json): add new image URLs for various case statuses to enhance visual feedback
refactor(cases.py): improve code readability by adding parameter descriptions and breaking down long function calls
feat(cases.py): add active and inactive case icons to embeds for better visual distinction between case statuses
fix(settings.json): change DEV prefix from "~" to "$" to unify command prefixes across environments
refactor(run.py): remove unnecessary return type comments and update usage instruction for better clarity
refactor(help.py): improve help command output by including command prefix and improving formatting
chore(main.py): remove unnecessary TODO comment, as the issue has been addressed
feat(constants.py): add TOKEN, PREFIX, COG_IGNORE_LIST constants to handle environment specific variables for better code maintainability
style(constants.py): remove unused UNICODE and EMOJIS constants to clean up the code
fix(settings.json): update EMBED_COLORS and EMBED_ICONS values to reflect the latest design changes
feat(settings.json): add new configuration options for roles, channels, embed colors, icons, unicode, emojis
feat(random.py): add new 'Random' cog with coinflip, 8ball, dice, randomnumber commands for fun user interactions
refactor(constants.py): move hardcoded values to config file for better maintainability
feat(constants.py): add support for DEV environment variables for development mode
fix(sentry.py): change environment setup to support new DEV and PROD constants for better environment handling