Skip to content

Conversation

@Endkind
Copy link
Member

@Endkind Endkind commented Jul 12, 2025

  • moved check_* decorators from ModubotDiscord.commands.__init__ to ModubotDiscord.utils.checks.permissions and ModubotDiscord.utils.checks.owner
  • moved send_message and send_error to ModubotDiscord.utils.messages
  • added deprecation warnings for old check_* send_message, and send_error usages
  • introduced ErrorType enum for standardized error titles

- moved `check_*` decorators from `ModubotDiscord.commands.__init__` to `ModubotDiscord.utils.checks.permissions` and `ModubotDiscord.utils.checks.owner`
- moved `send_message` and `send_error` to `ModubotDiscord.utils.messages`
- added deprecation warnings for old `check_*` `send_message`, and `send_error` usages
- introduced `ErrorType` enum for standardized error titles
@Endkind Endkind self-assigned this Jul 12, 2025
@Endkind Endkind added maintenance Codebase cleanup or non-feature updates feature New functionality or enhancements labels Jul 12, 2025
@Endkind Endkind merged commit 0c6f312 into master Jul 12, 2025
1 check passed
@Endkind Endkind deleted the refactor/structure-cleanup-end branch July 12, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality or enhancements maintenance Codebase cleanup or non-feature updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants