Skip to content

Commit b2b9f3c

Browse files
JustaSqu1dLulalaby
andauthored
Document undocumented event (#1472)
Co-authored-by: Lala Sabathil <[email protected]>
1 parent 43c0864 commit b2b9f3c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/api.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,15 @@ to handle it, which defaults to print a traceback and ignoring the exception.
839839

840840
:param exception: The DiscordException associated to the error.
841841
:type exception: :class:`DiscordException`
842+
843+
.. function:: on_unknown_application_command(interaction)
844+
845+
Called when an application command was not found in the bot's internal cache.
846+
847+
.. versionadded:: 2.0
848+
849+
:param interaction: The interaction associated to the unknown command.
850+
:type interaction: :class:`Interaction`
842851

843852
.. function:: on_private_channel_update(before, after)
844853

0 commit comments

Comments
 (0)