[commands] Add support for discord.Attachment converters

This commit is contained in:
Rapptz
2022-05-05 01:37:07 -04:00
parent d8846570ae
commit 9793fba338
5 changed files with 163 additions and 6 deletions

View File

@ -538,6 +538,9 @@ Exceptions
.. autoexception:: discord.ext.commands.MissingRequiredArgument
:members:
.. autoexception:: discord.ext.commands.MissingRequiredAttachment
:members:
.. autoexception:: discord.ext.commands.ArgumentParsingError
:members:
@ -714,6 +717,7 @@ Exception Hierarchy
- :exc:`~.commands.ConversionError`
- :exc:`~.commands.UserInputError`
- :exc:`~.commands.MissingRequiredArgument`
- :exc:`~.commands.MissingRequiredAttachment`
- :exc:`~.commands.TooManyArguments`
- :exc:`~.commands.BadArgument`
- :exc:`~.commands.MessageNotFound`