Skip to content

Commit

Permalink
Document undocumented event (#1472)
Browse files Browse the repository at this point in the history
Co-authored-by: Lala Sabathil <[email protected]>
  • Loading branch information
JustaSqu1d and Lulalaby authored Jul 6, 2022
1 parent 43c0864 commit b2b9f3c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,15 @@ to handle it, which defaults to print a traceback and ignoring the exception.

:param exception: The DiscordException associated to the error.
:type exception: :class:`DiscordException`

.. function:: on_unknown_application_command(interaction)

Called when an application command was not found in the bot's internal cache.

.. versionadded:: 2.0

:param interaction: The interaction associated to the unknown command.
:type interaction: :class:`Interaction`

.. function:: on_private_channel_update(before, after)

Expand Down

0 comments on commit b2b9f3c

Please sign in to comment.