fix(ban.py, cases.py): replace 'case_target_id' with 'case_user_id' to align with new naming convention
feat(cases.py): change 'target' to 'user' in command flags for consistency with other changes
refactor(jail.py, kick.py, snippetban.py): rename 'target' to 'member' for better readability
refactor(jail.py): simplify jail conditions check and error handling for better maintainability
fix(jail.py, kick.py, snippetban.py): replace 'case_id' with 'case_number' in handle_case_response for correct case reference
refactor(snippetban.py): update 'case_target_id' to 'case_user_id' for consistency across codebase
refactor(moderation): rename 'target' to 'member' for better context understanding
fix(moderation): replace 'case_target_id' with 'case_user_id' to match new database schema
fix(moderation): replace 'case_id' with 'case_number' to match new database schema
refactor(timeout.py): add flag descriptions for better understanding
fix(unjail.py): simplify jail role check and remove unused jail channel check
refactor(untimeout.py, warn.py): rename 'target' to 'member' for better clarity
fix(untimeout.py): add comment to clarify the use of 'None' in timeout function
refactor(untimeout.py, warn.py): replace 'case_id' with 'case_number' for consistency
refactor(snippets.py): simplify ban_count and unban_count calculation
style(snippets.py): remove trailing whitespace in author.send function
- 'case_target_id' and 'note_target_id' renamed to 'case_user_id' and 'note_user_id' respectively
- 'case_target_roles' renamed to 'case_user_roles'
- All related function names and parameters updated to reflect these changes
- Increase columns_per_row to 8 for better visual organization
- Enable use_username to display contributor's username
- Set collaborators to 'all' to include all contributors in the list
fix(unban.py): move username_or_id from flags to command arguments for better clarity
refactor(timeout.py): remove parse_time_string function, use the one from utils.functions instead
feat(error.py): add comprehensive list of DiscordException for better error handling
refactor(error.py): reorganize error_map dictionary for better readability
style(error.py): uncomment useful debug logs for error handlers
feat(help.py): enhance flag_str formatting for better command help display
feat(flags.py): add generate_usage function to generate usage string for a command with flags
refactor(flags.py): simplify flag descriptions for better readability
feat(functions.py): add parse_time_string function to convert string representation of time into timedelta object
refactor(flags.py): remove username_or_id flag from UnbanFlags class as it's not used
feat(config.py): add get_roles and get_perms commands to fetch roles and permissions information
style(config.py): add docstrings to get_roles and get_perms commands for better code readability
feat(setup.py): add new Setup class for server setup
refactor(moderation): move handle_case_response method to ModerationCogBase class for code reusability
fix(moderation): replace async create_embed method with synchronous one
feat(moderation): add support for case handling in ban command
feat(cases.py): update snippetban and snippetunban emoji ids
refactor(cases.py): replace async create_embed method with synchronous one
refactor(jail.py, kick.py): remove redundant code and simplify jail and kick commands
feat(jail.py, kick.py): improve error handling and logging for jail and kick commands
style(jail.py, kick.py): improve code readability and maintainability by removing unnecessary imports and functions
refactor(snippetban.py, snippetunban.py, timeout.py): simplify case handling logic and error handling
feat(snippetban.py, snippetunban.py): add reason parameter to usage and make error messages ephemeral
fix(timeout.py): move send_dm call after successful timeout to ensure user is notified only when action is successful
refactor(unban.py, unjail.py): simplify unban and unjail commands by removing redundant code
feat(unjail.py): add error handling for missing jail role or jail channel
fix(unjail.py): ensure atomicity when removing jail role and adding previous roles to prevent partial role assignment
refactor(untimeout.py, warn.py): remove redundant code and simplify case response handling
fix(untimeout.py, warn.py): move send_dm call to after timeout/warn action to ensure it's sent after action is successful
feat(.env.example): add comments to clarify usage of each environment variable for better user guidance
style(.env.example): remove unused SUPABASE_KEY variable to clean up the code
fix(loc.yml): change 'ls -al' to 'ls -alR' for recursive directory listing in debugging step
refactor(loc.yml): remove 'exclude_lang' option as it's no longer needed
- Change the title and labels to be more descriptive and automatically label bugs
- Improve the structure and clarity of the issue template
- Add a section for code snippets or screenshots
- Update the environment section to be more relevant to the project
- Add a section for additional context to provide more information about the issue
feat(cases.py): add all_can_click and delete_on_timeout options to ViewMenu for improved user interaction
style(cases.py): replace menu buttons with more descriptive ones for better user experience
fix(cases.py): replace "?" with "⁉️" for missing case details for better error visibility
style(cases.py): change case date formatting from italic to underline for better readability
fix(ban.py): add action parameter in send_dm method call to correctly specify the action taken
docs(ban.py): update docstring to specify that purge_days should be less than 7
fix(unban.py): rearrange parameters in insert_case function call to match function definition
docs(unban.py): update flags parameter description to include specific flag details for better understanding
feat(untimeout.py): add 'silent' flag to untimeout command for silent operation
docs(untimeout.py): update command documentation to reflect new 'silent' flag and 'member' terminology
style(flags.py): update descriptions for clarity and consistency
feat(flags.py): add 'silent' flag to TempBanFlags for optional DM to target
feat(flags.py): add more aliases to 'expires_at' flag in TempBanFlags for better usability
feat(flags.py): add CaseTypeConverter to 'type' flag in CasesViewFlags for proper type conversion
refactor(flags.py): change 'target' and 'moderator' flags in CasesViewFlags from Member to User for broader applicability