Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: on_command_error event #949

Merged
merged 2 commits into from Jul 22, 2022
Merged

feat: on_command_error event #949

merged 2 commits into from Jul 22, 2022

Conversation

Toricane
Copy link
Contributor

About

This pull request implements an on_command_error event.

Usage:

@bot.event
async def on_command_error(ctx: CommandContext, error: Exception):
    ...

Checklist

  • I've ran pre-commit to format and lint the change(s) made.
  • I've checked to make sure the change(s) work on 3.8.6 and higher.
  • This fixes/solves an Issue.
    • (If existent):
  • I've made this pull request for/as: (check all that apply)
    • Documentation
    • Breaking change
    • New feature/enhancement
    • Bugfix

@Toricane Toricane added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 21, 2022
@Toricane Toricane enabled auto-merge (squash) July 21, 2022 04:16
@EdVraz EdVraz merged commit 2929091 into interactions-py:unstable Jul 22, 2022
@Toricane Toricane deleted the feat-on_command_error branch July 23, 2022 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants