Move MissingApplicationID to top-level discord namespace

This commit is contained in:
Rapptz
2024-08-31 08:51:56 -04:00
parent 66d74054dd
commit df4b1c88df
8 changed files with 39 additions and 26 deletions

View File

@ -5440,6 +5440,8 @@ The following exceptions are thrown by the library.
.. autoexception:: InteractionResponded
.. autoexception:: MissingApplicationID
.. autoexception:: discord.opus.OpusError
.. autoexception:: discord.opus.OpusNotLoaded
@ -5457,6 +5459,7 @@ Exception Hierarchy
- :exc:`ConnectionClosed`
- :exc:`PrivilegedIntentsRequired`
- :exc:`InteractionResponded`
- :exc:`MissingApplicationID`
- :exc:`GatewayNotFound`
- :exc:`HTTPException`
- :exc:`Forbidden`

View File

@ -872,9 +872,6 @@ Exceptions
.. autoexception:: discord.app_commands.CommandNotFound
:members:
.. autoexception:: discord.app_commands.MissingApplicationID
:members:
.. autoexception:: discord.app_commands.CommandSyncFailure
:members:
@ -899,7 +896,7 @@ Exception Hierarchy
- :exc:`~discord.app_commands.CommandAlreadyRegistered`
- :exc:`~discord.app_commands.CommandSignatureMismatch`
- :exc:`~discord.app_commands.CommandNotFound`
- :exc:`~discord.app_commands.MissingApplicationID`
- :exc:`~discord.MissingApplicationID`
- :exc:`~discord.app_commands.CommandSyncFailure`
- :exc:`~discord.HTTPException`
- :exc:`~discord.app_commands.CommandSyncFailure`