mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
8e3d8cdc66
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 |
||
---|---|---|
.. | ||
active_case.png | ||
added.png | ||
ban.png | ||
inactive_case.png | ||
jail.png | ||
kick.png | ||
removed.png | ||
snippetban.png | ||
snippetunban.png | ||
timeout.png | ||
tux_case.png | ||
tux_default.png | ||
tux_error.png | ||
tux_info.png | ||
tux_note.png | ||
tux_notify.png | ||
tux_poll.png | ||
tux_prefix.png | ||
tux_success.png | ||
tux_tag.png | ||
warn.png |