aboutsummaryrefslogtreecommitdiff
path: root/discord/ext
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Make `commands.Greedy` a `typing.Generic`James2021-04-102-23/+95
|
* [commands] Provide a dynamic cooldown system Dan Hess2021-04-102-19/+81
|
* [commands]Add typing.Literal converterSigmath Bits2021-04-102-30/+99
|
* [commands] Raise error when a cog name is already registeredSebastian Law2021-04-081-2/+22
|
* Use f-strings in more places that were missed.Rapptz2021-04-087-40/+42
|
* [commands] Use has_error_handler instead in command_errorpikaninja2021-04-071-2/+3
|
* [commands] Only replace annotation if one was givenRapptz2021-04-071-1/+3
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-074-2/+17
|
* [commands] Use typing.get_type_hints to resolve ForwardRefsNadir Chowdhury2021-04-061-6/+25
|
* [commands] Fix classmethod converters not working.Rapptz2021-04-051-7/+4
| | | | Protocols sure are annoying.
* [commands] Revert conversion code back to how it was originallyRapptz2021-04-051-8/+7
|
* [commands] Fix AttributeError for classes missing convert attributeToxicKidz2021-04-051-1/+1
|
* [commands] Fix logic in Cog.has_error_handler()Rapptz2021-04-051-1/+1
|
* [commands] Address incorrect use of subclass (from type perspective)Michael H2021-04-051-4/+5
| | | This is a follow up from #6641
* [commands] Add more type information to public API of convertersMichael H2021-04-051-18/+18
|
* Use covariant TypeVar for protocolMichael H2021-04-051-1/+1
|
* [commands] Fix @classmethod converters Michael H2021-04-051-6/+9
|
* Use typing.Protocol instead of abc.ABCMetaJames2021-04-042-29/+34
|
* [commands] Use positional only parameter for Context.invokeRapptz2021-04-041-12/+2
|
* Modernize code to use f-stringsRapptz2021-04-0412-108/+85
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* [commands] Add missing versionadded on StoreChannelConverterRapptz2021-04-031-5/+7
|
* [commands] Add StoreChannelConverterDoggieLicc2021-04-031-0/+40
|
* Implement StageChannel and related methodsNadir Chowdhury2021-04-031-0/+41
|
* [docs] copy signature from overridden and inherited methodsSebastian Law2021-03-291-2/+1
|
* [commands] Add support for stripping whitespace after the prefixRapptz2021-03-281-0/+10
| | | | This is configured with the strip_after_prefix option in `Bot.__init__`
* [commands] Remove nullability from help command implementationRapptz2021-03-281-16/+3
| | | | Fixes #5154
* Add remove_markdown helper functionEdwin2021-03-281-1/+8
|
* [commands] Only remove top level commands on cog load failureRapptz2021-03-281-1/+2
|
* [commands] allow arbitrary callables in cooldownMikey2021-03-282-5/+11
|
* [commands] fix documented type for Command.checksSebastian Law2021-03-241-1/+1
|
* [commands] Include group args in command signaturejack11422021-03-241-4/+13
|
* [commands] fix Context.channel property documented typeSebastian Law2021-03-131-2/+2
|
* Fix references to snowflakes being max 21 longNihaal Sangha2021-03-021-4/+4
|
* [tasks] remove redundant condition in Loop.next_iteration Sebastian Law2021-02-281-1/+1
| | | | | | | | self._task is only None if the Loop has never been started before, which means None should be returned always, regardless of how many seconds was passed into the constructor this didn't break anything before because self._next_iteration will be None as well if self._task is None.
* Code optimisations and refactoring via SourceryNadir Chowdhury2021-02-245-12/+10
|
* Fix NameError with invoked_parentsNadir Chowdhury2021-02-241-0/+1
|
* [commands] Added tribool behaviour to HelpCommand.verify_checkssudosnok2021-02-241-3/+11
|
* [commands] properly assign ctx.invoked_with with ctx.Sebastian Law2021-02-231-1/+1
| | | | resolves #6461
* [commands] Add Context.invoked_parentsSebastian Law2021-02-232-0/+15
|
* [commands] Allow relative paths when handling extensionsKaylynn Morgan2021-02-231-3/+37
|
* [tasks] make __call__ actually appear in the docsSebastian Law2021-02-211-1/+1
|
* [commands] Handle positional-only parameters in bot commandsBryan Forbes2021-02-171-2/+2
|
* [commands] Add support for rgb function in ColourConverterRapptz2021-02-071-11/+58
| | | | | | This also adds support for 3 digit hex. Fixes #6374
* [commands] Add discord.Guild converter and GuildNotFound errorAlex Nørgaard2021-02-072-1/+45
| | | | | | | * Add discord.Guild converter and GuildNotFound error * note for lack of disambiguation in Guilds with duplicate names, and removed the possibility of returning None * edited converter to use `utils.get` over `utils.find` and docs edited with Converter and Exception.
* [commands] Fix documented type of `Context.cog`Jonas Bohmann2021-01-241-1/+1
|
* [commands] Add linesep kwarg to PaginatorPikalaxALT2021-01-171-9/+17
|
* [commands] Fix Command duplicates in `HelpCommand.get_bot_mapping`Alex Nørgaard2021-01-161-1/+1
|
* [commands] Add Command/Cog.has_error_handlerRapptz2021-01-152-0/+14
| | | | | This allows querying the state without relying on internal undocumented attributes.
* Change copyright year to presentNihaal Sangha2021-01-1512-12/+12
|
* [commands] Add PartialMessageConverterJosh2021-01-151-13/+35
|