Skip to content

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
@EepyElvyra EepyElvyra 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.

2 participants