| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Implement Command.__call__ | Rapptz | 2020-01-21 | 1 | -0/+18 |
| | | |||||
| * | Drop superfluous zero in version related changes in the documentation | Rapptz | 2020-01-21 | 4 | -26/+26 |
| | | |||||
| * | [commands] Be more clear in the default error for MaxConcurrencyReached | Rapptz | 2020-01-21 | 1 | -1/+1 |
| | | |||||
| * | [commands] Refactor BucketType to not repeat in other places in code | Rapptz | 2020-01-21 | 1 | -39/+24 |
| | | |||||
| * | [commands] Add max_concurrency decorator | Rapptz | 2020-01-21 | 3 | -1/+204 |
| | | |||||
| * | [tasks] Use new sleep_until util instead of internal function | Rapptz | 2020-01-21 | 1 | -6/+2 |
| | | |||||
| * | [tasks] Fix issue with next_iteration when task overruns time allotted | Josh B | 2020-01-21 | 1 | -3/+7 |
| | | |||||
| * | [tasks] Add Loop.next_iteration property | Josh B | 2020-01-20 | 1 | -1/+26 |
| | | |||||
| * | [commands] Allow @ prefixed usernames in DM contexts for UserConverter | Hugo Woesthuis | 2020-01-20 | 1 | -2/+7 |
| | | | | | | | | Previously the argument '@user#0000' return None. To fix this, as this is a common user error, an extra check was added to remove the first character from the argument if this is an '@'. Discord names may not contain an '@' anyways. | ||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 11 | -11/+11 |
| | | | | | Closes #2510 | ||||
| * | [commands] Case insensitivity uses casefold instead of lower | Rapptz | 2020-01-19 | 1 | -6/+6 |
| | | | | | | There seems to be very little performance regression in doing so (+5ns) so might as well go for the more correct behaviour. | ||||
| * | [commands] Document BucketType separately | Rapptz | 2020-01-18 | 1 | -10/+2 |
| | | |||||
| * | [commands] Context.send_help properly sends to on_help_command_error | Rapptz | 2020-01-18 | 1 | -10/+22 |
| | | |||||
| * | [commands] Add missing async in documentation | apple502j | 2020-01-14 | 1 | -1/+1 |
| | | |||||
| * | [commands] Force the predicate attribute in checks to be a coroutine | Rapptz | 2020-01-14 | 1 | -53/+12 |
| | | |||||
| * | Patch clean_prefix for new text editor | Michael H | 2020-01-14 | 1 | -1/+2 |
| | | | | The new editor seems to force mentions to have ! even without a nick. | ||||
| * | [commands] Add check_any check to OR together various checks | Rapptz | 2020-01-06 | 2 | -0/+91 |
| | | |||||
| * | [commands] Document the changed Command.can_run behaviour | Rapptz | 2020-01-06 | 1 | -1/+5 |
| | | |||||
| * | [commands] Make Command.can_run process disabled commands | Rapptz | 2020-01-06 | 1 | -8/+6 |
| | | |||||
| * | [commands] Add predicate attribute to checks to get inner function | Rapptz | 2019-12-18 | 1 | -0/+67 |
| | | |||||
| * | [commands] Make Greedy ignore parsing errors. | Rapptz | 2019-12-17 | 1 | -16/+16 |
| | | |||||
| * | [commands] check if prefix is None in .pages | StarrFox | 2019-12-17 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add guild-based permission checks | Xua | 2019-12-17 | 1 | -0/+48 |
| | | |||||
| * | Fix typo in help.py docs | Nelluk | 2019-11-26 | 1 | -1/+1 |
| | | | | Changed "intend" to "indent" | ||||
| * | Revert "[tasks] Add Loop.exception for more reliable exception retrieval." | Rapptz | 2019-11-19 | 1 | -14/+1 |
| | | | | | This reverts commit 7a8c9e66d9c43a539fb78107ce3f51f16c7f30a2. | ||||
| * | Revert "[tasks] Add support for explicit time parameter when running." | Rapptz | 2019-11-19 | 1 | -92/+14 |
| | | | | | This reverts commit 9f822a1e6d904c4d7454ab77496b8a4f736073ab. | ||||
| * | [commands] Add Command/Group.add/remove_check | Riley Shaw | 2019-11-15 | 1 | -0/+34 |
| | | |||||
| * | [commands] Allow converters from custom discord.ext extensions | romangraef | 2019-10-20 | 1 | -1/+1 |
| | | | | | | | | | Originally the converting of an argument with type in the discord.* package would try to use the predefined converters, even if there were none present. This is fixed by supplying a default argument to getattr Fixes #2369 | ||||
| * | Document Command.cog property | Josh B | 2019-10-17 | 1 | -0/+2 |
| | | |||||
| * | [commands] default Bot.owner_ids to a set | Ben Mintz | 2019-09-10 | 1 | -1/+1 |
| | | | | This appears to be a typo, as everywhere else, owner_ids is set to a set. | ||||
| * | [tasks] Add support for passing an argument list of exceptions. | mathsman5133 | 2019-09-10 | 1 | -17/+18 |
| | | |||||
| * | Add version information from missing PRs. | Rapptz | 2019-08-11 | 1 | -1/+1 |
| | | |||||
| * | [tasks] Add support for explicit time parameter when running. | Rapptz | 2019-08-11 | 1 | -14/+92 |
| | | | | | Fixes #2159 | ||||
| * | [commands] Add role cooldown bucket | BluePhoenixGame | 2019-08-11 | 2 | -1/+11 |
| | | |||||
| * | [tasks] Add Loop.exception for more reliable exception retrieval. | Rapptz | 2019-07-27 | 1 | -1/+14 |
| | | |||||
| * | [commands] Properly load the original module when reloading fails. | Rapptz | 2019-07-27 | 1 | -2/+3 |
| | | | | | Fix #2291 | ||||
| * | [commands] update sys.modules in load_extension again | Benjamin Mintz | 2019-07-18 | 1 | -1/+5 |
| | | | | | | 6f71552c508c61d9b6bf024fc259063ad056b7c4 introduced a regression: loading a module that is not in a package does not add it to sys.modules. Updating sys.modules is required after all. | ||||
| * | [commands] Bot.is_owner should be marked as coroutine | ed588 | 2019-07-18 | 1 | -1/+3 |
| | | |||||
| * | [commands] Fall back to using Message.mentions in converters | Rapptz | 2019-07-10 | 1 | -2/+4 |
| | | | | | Useful if there's no cache. | ||||
| * | [commands] Don't update sys.modules with a stale reference. | Rapptz | 2019-07-07 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix up Paginator documentation. | Rapptz | 2019-06-29 | 1 | -2/+2 |
| | | | | | These aren't optional. | ||||
| * | [commands] Calculate suffix length at each add_line | Matt (IPv4) Cowley | 2019-06-29 | 1 | -3/+7 |
| | | |||||
| * | [commands] Properly raise the correct exception for owner_ids | Rapptz | 2019-06-29 | 1 | -14/+14 |
| | | | | | Also some minor nits with documentation. | ||||
| * | [tasks] Removed Returns from decorator docstring | Nihaal | 2019-06-29 | 1 | -6/+1 |
| | | |||||
| * | [commands] Don't raise ExtensionNotFound for ImportErrors in modules | Benjamin Mintz | 2019-06-29 | 2 | -17/+23 |
| | | | | | | Now loading an extension that _contains_ a failed import will fail with ExtensionFailed, rather than ExtensionNotFound. | ||||
| * | Support team members data in application info | fourjr | 2019-06-29 | 1 | -4/+27 |
| | | |||||
| * | [commands] Add missing word in HelpCommand documentation | Harmon | 2019-06-20 | 1 | -1/+1 |
| | | |||||
| * | [commands] Ensure cooldowns are properly copied. | Rapptz | 2019-06-12 | 1 | -3/+4 |
| | | |||||
| * | Some documentation touch-ups and missing stuff in the changelog. | Rapptz | 2019-06-09 | 1 | -0/+2 |
| | | |||||
| * | Replace Enum with an internal one for significant speed improvements. | Rapptz | 2019-06-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been a massive pain point for me personally due to the poor design of the Enum class leading to the common use cases used in the library being significantly slow. Since this Enum is not public facing in terms of *creation*, I can only implement the APIs that are used when *accessing* them. This Enum is a drop-in replacement to the pre-existing enum.Enum class except it comes with significant speed-ups. Since this is a lot to go over, I will let the numbers speak for themselves: In [4]: %timeit enums.try_enum(enums.Status, 'offline') 263 ns ± 34.3 ns per loop (7 runs, 1000000 loops each) In [5]: %timeit NeoStatus.try_value('offline') 134 ns ± 0.859 ns per loop (7 runs, 10000000 loops each) In [6]: %timeit enums.Status.offline 116 ns ± 0.378 ns per loop (7 runs, 10000000 loops each) In [7]: %timeit NeoStatus.offline 31.6 ns ± 0.327 ns per loop (7 runs, 10000000 loops each) In [8]: %timeit enums.Status.offline.value 382 ns ± 15.2 ns per loop (7 runs, 1000000 loops each) In [9]: %timeit NeoStatus.offline.value 65.5 ns ± 0.953 ns per loop (7 runs, 10000000 loops each) In [10]: %timeit str(enums.Status.offline) 630 ns ± 14.8 ns per loop (7 runs, 1000000 loops each) In [11]: %timeit str(NeoStatus.offline) 253 ns ± 3.53 ns per loop (7 runs, 1000000 loops each) In [12]: %timeit enums.Status('offline') 697 ns ± 8.42 ns per loop (7 runs, 1000000 loops each) In [13]: %timeit NeoStatus('offline') 182 ns ± 1.83 ns per loop (7 runs, 10000000 loops each) | ||||