Skip to content

Commit

Permalink
docs: missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
AstreaTSS committed Jul 6, 2023
1 parent d3d6611 commit 0b8571f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/Guides/03 Creating Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ The same principle can be used to reuse autocomplete options.

## Simplified Error Handling

If you want error handling for all commands, you can override `Client` and define your own.
If you want error handling for all commands, you can override the default error listener and define your own.
Any error from interactions will trigger `CommandError`. That includes context menus.

In this example, we are logging the error and responding to the interaction if not done so yet:
Expand Down

0 comments on commit 0b8571f

Please sign in to comment.