Cog-Creators / Cog-Creators/Red-DiscordBot
Move our error handling to the cog base
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
Currently we handle errors in `on_command_error` event listener, moving this to cog base (or more likely to `CogCommandMixin` as not all commands are necessarily attached to a cog) would make it easier to override the error handling safely while retaining the behavior for people not overriding it.
Original issue: #3133
Contributor guide
Research direction
Start by tracing the on_command_error event listener and reviewing CogCommandMixin, then compare the intended change with original issue #3133. Done means error handling is moved to the cog base or mixin, remains available for commands without cogs, preserves existing behavior, and can be safely overridden.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100