Nadir Chowdhury
367c4b5fd2
[docs] remove unresolved doc refs, fix attribute ref
5 years ago
Rapptz
0a7e2f7c2f
[commands] BadBooleanArgument -> BadBoolArgument
5 years ago
Simon Beal
6ebd2e13a1
[commands] Add subclasses of BadArgument for converters
5 years ago
Sebastian Law
7a07644de3
[commands] Raise TypeError when Optional is used with Greedy converter
5 years ago
jack1142
84098ed824
[commands] Add a new exception class for command registration errors
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
NCPlayz
1b0e806245
[commands] Implement `commands.before/after_invoke`
5 years ago
Rapptz
2ba28bbfe2
One last superfluous .0 in versionadded
5 years ago
Rapptz
d9cd4a3561
[commands] Implement Command.__call__
5 years ago
Rapptz
4de314d2c3
[commands] Export max_concurrency and MaxConcurrencyReached in docs
5 years ago
Rapptz
a2b241446e
[commands] Document BucketType separately
5 years ago
Rapptz
82797b0e60
[commands] Add missing CheckAnyFailure documentation
5 years ago
Rapptz
92a3c1b583
[commands] Document guild permission checks
5 years ago
Rapptz
ae3dac0d59
[commands] Add check_any check to OR together various checks
5 years ago
Rapptz
c62b6c3e88
Fix more deprecation warnings for 3.8
5 years ago
Flame442
5cad76370e
[commands] Fix grammar
Either implies that there will be two things, there is only one.
6 years ago
Dante Dam
da41cceb41
[commands] Fix confusion between it's and its
6 years ago
Dante Dam
956f4c7151
[commands] Fix CategoryChannel not appearing in converter table
6 years ago
Rapptz
7543328fe7
Update Sphinx to 2.1.2
6 years ago
Rapptz
a8f0a03247
Version bump to 1.2.0
6 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Rapptz
f8cc64ca7e
Add changelog for v1.1.0
6 years ago
Rapptz
d51f4c2b81
Minor nits in Discord Converters section of the docs.
6 years ago
Rapptz
446b79241c
Actually use multiple checks in the examples for checks.
6 years ago
Rapptz
91e00d8426
[tasks] Add way to query cancellation state for Loop.after_loop
Fixes #2121
6 years ago
Rapptz
55e3e242ff
[tasks] Remove support for awaitables due to gotchas.
Fixes #2079
6 years ago
Vexs
bb3ebc0ebc
[commands] Add custom exception classes for built-in checks
Added:
* MissingRole
* BotMissingRole
* MissingAnyRole
* BotMissingAnyRole
6 years ago
Rapptz
296d4bf580
[commands] Add new MessageConverter to commands prose page.
6 years ago
retke
440db2a568
[commands] Add MessageConverter to fetch messages by URL or ID.
6 years ago
Rapptz
e46842a7cd
[tasks] Add before_loop and after_loop decorators
6 years ago
Rapptz
4cf96107ae
[tasks] Document version added
6 years ago
Rapptz
10bc939348
[tasks] Rename Loop.run to Loop.start to avoid blocking connotations
6 years ago
Rapptz
b0c7f48caf
[tasks] Add a new background helper 'tasks' extension.
6 years ago
Rapptz
d9e54d7dd3
[commands] Redesign extension exception flow.
Instead of raising a whole variety of exceptions, they are now wrapped
into ExtensionError derived classes.
* ExtensionAlreadyLoaded
* Raised when an extension is already loaded in Bot.load_extension
* ExtensionNotLoaded
* Raised when an extension is not loaded, e.g. Bot.unload_extension
* NoEntryPointError
* Raised when an extension does not have a `setup` function.
* ExtensionFailed
* Raised when an extension's `setup` function fails.
* ExtensionNotFound
* Raised when an extension's module import fails.
6 years ago
Rapptz
26e9b5bfac
[commands] Add Bot.reload_extension for atomic loading.
Also do atomic loading in Bot.load_extension
6 years ago
Rapptz
3527203e07
[commands] Redesign HelpFormatter into HelpCommand
Part of #1938
6 years ago
Rapptz
560783c3d2
[commands] Separate view parsing errors from BadArgument.
This causes them to be raised from a new exception named
ArgumentParsingError with 3 children for ease with i18n. This is
technically a breaking change since it no longer derives from
BadArgument, though catching UserInputError will prevent this change
from affecting the user.
6 years ago
Rapptz
13b23963ec
Add exception hierarchy to the documentation.
6 years ago
Rapptz
d124daef33
Fix non-working example in commands documentation.
6 years ago
Rapptz
ab8e7b7732
[commands] Fix bug in behaviour in the cog inspection methods.
6 years ago
Rapptz
caf3d17d4a
Rework entire cog system and partially document it and extensions.
6 years ago
LyricLy
6bfd92e4a5
Fix is_in_guild example check
6 years ago
scragly
53c7d940c9
Outline the logic of `bool` converters
As a `bool` converter is treated differently from other callable (basic) converters, the explanatory docs should outline that it is evaluated differently from a simple type cast, and what logic is used in determining how the content is evaluated.
7 years ago
scragly
cec7ced1a4
Group Advanced Converters and Inline Advanced Converters
The Inline Advanced Converters are a logical extension of the Advanced Converters subject, and as such should be placed under that section without an unrelated converter type breaking the two up.
7 years ago
Rapptz
99b1390e5a
[commands] Elaborate more on disallowed types in Greedy and Optional
7 years ago
Rapptz
418048b98a
[commands] Fix up Greedy documentation a bit.
7 years ago
Rapptz
814b03f5a8
[commands] Add commands.Greedy converter and documentation.
This allows for greedy "consume until you can't" behaviour similar to
typing.Optional but for lists.
7 years ago
Rapptz
52767cf315
[commands] Add documentation for BadUnionArgument
7 years ago
khazhyk
2321ae8d97
[commands] raise ConversionError on Converter error
This assumes that a Converter class raising non-CommandError
is a programmer error. Makes this type of error easier to
disambiguate from a generic BadArgument.
7 years ago
Gorialis
04d9dd9c0d
Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter
7 years ago