diff options
| author | Simon Beal <[email protected]> | 2020-09-04 13:45:29 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-04 08:45:29 -0400 |
| commit | 6ebd2e13a126b4dc223ac58017530ed58737f00e (patch) | |
| tree | b18b82621a8eedd26988679c33701ac924f4ee6b /docs/ext | |
| parent | Classmethods all and none for AllowedMentions (diff) | |
| download | discord.py-6ebd2e13a126b4dc223ac58017530ed58737f00e.tar.xz discord.py-6ebd2e13a126b4dc223ac58017530ed58737f00e.zip | |
[commands] Add subclasses of BadArgument for converters
Diffstat (limited to 'docs/ext')
| -rw-r--r-- | docs/ext/commands/api.rst | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index d049e20b..5980d3cb 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -338,6 +338,39 @@ Exceptions .. autoexception:: discord.ext.commands.NotOwner :members: +.. autoexception:: discord.ext.commands.MessageNotFound + :members: + +.. autoexception:: discord.ext.commands.MemberNotFound + :members: + +.. autoexception:: discord.ext.commands.UserNotFound + :members: + +.. autoexception:: discord.ext.commands.ChannelNotFound + :members: + +.. autoexception:: discord.ext.commands.ChannelNotReadable + :members: + +.. autoexception:: discord.ext.commands.InvalidColour + :members: + +.. autoexception:: discord.ext.commands.RoleNotFound + :members: + +.. autoexception:: discord.ext.commands.InvalidInvite + :members: + +.. autoexception:: discord.ext.commands.EmojiNotFound + :members: + +.. autoexception:: discord.ext.commands.PartialEmojiConversionFailure + :members: + +.. autoexception:: discord.ext.commands.BadBooleanArgument + :members: + .. autoexception:: discord.ext.commands.MissingPermissions :members: @@ -393,6 +426,17 @@ Exception Hierarchy - :exc:`~.commands.MissingRequiredArgument` - :exc:`~.commands.TooManyArguments` - :exc:`~.commands.BadArgument` + - :exc:`~.commands.MessageNotFound` + - :exc:`~.commands.MemberNotFound` + - :exc:`~.commands.UserNotFound` + - :exc:`~.commands.ChannelNotFound` + - :exc:`~.commands.ChannelNotReadable` + - :exc:`~.commands.BadColourArgument` + - :exc:`~.commands.RoleNotFound` + - :exc:`~.commands.BadInviteArgument` + - :exc:`~.commands.EmojiNotFound` + - :exc:`~.commands.PartialEmojiConversionFailure` + - :exc:`~.commands.BadBooleanArgument` - :exc:`~.commands.BadUnionArgument` - :exc:`~.commands.ArgumentParsingError` - :exc:`~.commands.UnexpectedQuoteError` |