1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
tux/.archive
kzndotsh 5e67bc6306 feat(ctx_error_handler.py): add new error handler for command context
refactor(error_handler.py): update error handling logic to improve error messages and logging
fix(error_handler.py): handle app command errors separately to avoid conflicts
style(error_handler.py): improve code readability and maintainability by simplifying error handling logic

feat(test_error_handler.py): add new file for testing error handling in discord.py
This new file contains a Cog class with commands to raise every type of discord.py error for testing purposes.

feat: add error handling commands to ErrorTests cog in discord bot

This commit adds a series of commands to the ErrorTests cog in the discord bot. Each command raises a specific exception when invoked, allowing for testing and debugging of error handling mechanisms. The exceptions covered include DisabledCommand, CommandInvokeError, CommandOnCooldown, MaxConcurrencyReached, various ExtensionErrors, ClientException, and CommandRegistrationError.

refactor(error_handler.py): rename ErrorHandler to UnifiedErrorHandler for clarity
feat(error_handler.py): add support for traditional command errors and app command errors
fix(error_handler.py): improve error message for better user experience
style(error_handler.py): refactor code for better readability and maintainability
2024-05-01 04:10:58 +00:00
..
tests chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
bot.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
command_cog.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
ctx_error_handler.py feat(ctx_error_handler.py): add new error handler for command context 2024-05-01 04:10:58 +00:00
dependency-review.yml chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
error_handler.py feat(ctx_error_handler.py): add new error handler for command context 2024-05-01 04:10:58 +00:00
ghost_pings.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
ghub.py feat(ghub.py): add new GitHub commands for discord bot 2024-04-18 07:08:03 +00:00
guild.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
helpers.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
kaizen_ping_counter.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
message.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
on_member_update.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
on_message.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
permissions.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
settings.ini chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
test_error_handler.py feat(ctx_error_handler.py): add new error handler for command context 2024-05-01 04:10:58 +00:00
thread.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
tux_logger.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00