| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Cast activity enumerator to integer instead of accessing value directly | Rapptz | 2019-06-25 | 2 | -1/+4 | |
| | | | | | Should make the library more resilient to future changes. | |||||
| * | Translation sync from crowdin | Rapptz | 2019-06-22 | 18 | -4651/+2162 | |
| | | ||||||
| * | Only return exception in Client.run when it's not cancelled. | Rapptz | 2019-06-20 | 1 | -1/+2 | |
| | | ||||||
| * | Propagate exception in Client.run | Rapptz | 2019-06-20 | 1 | -0/+2 | |
| | | | | | Fix #2237 | |||||
| * | Raise max encoder bitrate to 512kbps | Imayhaveborkedit | 2019-06-20 | 1 | -1/+1 | |
| | | | | Any higher is useless for opus anyways. | |||||
| * | [commands] Add missing word in HelpCommand documentation | Harmon | 2019-06-20 | 1 | -1/+1 | |
| | | ||||||
| * | Catch asyncio.CancelledError in 3.8 in typing context manager | Benjamin Mintz | 2019-06-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | In python 3.8, asyncio.CancelledError is a subclass of BaseException rather than Exception, so `except Exception:` will not swallow CancelledError. This change prevents an error in 3.8 from being printed to the console when the following is run: ``` async with ctx.typing(): pass ``` | |||||
| * | [commands] Ensure cooldowns are properly copied. | Rapptz | 2019-06-12 | 1 | -3/+4 | |
| | | ||||||
| * | Rename error type for `X.fetch_channel(s)`. | NCPlayz | 2019-06-12 | 2 | -2/+2 | |
| | | ||||||
| * | docs: Fix minor typo | Reece Dunham | 2019-06-12 | 2 | -6/+6 | |
| | | ||||||
| * | Set premium_since when copying and updating Member | SnowyLuma | 2019-06-11 | 1 | -0/+2 | |
| | | ||||||
| * | Version bump to 1.2.2v1.2.2 | Rapptz | 2019-06-09 | 2 | -2/+12 | |
| | | ||||||
| * | Update docs to note Enum derivation change | Toby Harradine | 2019-06-10 | 1 | -1/+2 | |
| | | ||||||
| * | Crowdin translation sync | Rapptz | 2019-06-09 | 18 | -9361/+15939 | |
| | | ||||||
| * | Fix descriptor detection in enum code. | Rapptz | 2019-06-09 | 1 | -7/+10 | |
| | | ||||||
| * | Version bump to 1.2.1v1.2.1 | Rapptz | 2019-06-09 | 2 | -2/+13 | |
| | | ||||||
| * | Disallow deleting of enum attributes. | Rapptz | 2019-06-09 | 1 | -0/+3 | |
| | | ||||||
| * | Add EnumMeta.__reversed__ just in case someone does this. | Rapptz | 2019-06-09 | 1 | -0/+3 | |
| | | | | | I sure hope not. | |||||
| * | Add EnumMeta.__len__ to not break user avatar code. | Rapptz | 2019-06-09 | 1 | -0/+3 | |
| | | ||||||
| * | Some documentation touch-ups and missing stuff in the changelog. | Rapptz | 2019-06-09 | 2 | -1/+5 | |
| | | ||||||
| * | Remove unused import. | Rapptz | 2019-06-09 | 1 | -1/+0 | |
| | | ||||||
| * | Version bump to 1.2.0v1.2.0 | Rapptz | 2019-06-09 | 4 | -2/+62 | |
| | | ||||||
| * | Fix reference typo in SystemChannelFlags | Rapptz | 2019-06-09 | 1 | -1/+1 | |
| | | ||||||
| * | Publicly expose a type property for all channels. | Rapptz | 2019-06-09 | 3 | -12/+22 | |
| | | | | | Fix #2185 | |||||
| * | Replace Enum with an internal one for significant speed improvements. | Rapptz | 2019-06-09 | 3 | -59/+92 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | |||||
| * | Fix exception hierarchy documentation. | Rapptz | 2019-06-08 | 1 | -3/+6 | |
| | | ||||||
| * | Implement `Guild.get_all_premium_subscribers` | NCPlayz | 2019-06-08 | 1 | -0/+5 | |
| | | ||||||
| * | Document new Guild.features | Rapptz | 2019-06-07 | 1 | -3/+10 | |
| | | ||||||
| * | Improve performance of parsing MESSAGE_UPDATE and MESSAGE_CREATE events | Rapptz | 2019-06-07 | 2 | -30/+68 | |
| | | | | | | | | | Embed edits are no longer special cased in the dispatch code, which could lead to on_message_edit being called more often than it used to be called. I am not sure on the general impact on that being removed. Fixes #2195 | |||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 48 | -559/+642 | |
| | | ||||||
| * | Added comment for/redo system information | NCPlayz | 2019-06-07 | 1 | -3/+2 | |
| | | ||||||
| * | Implementing GET '/channels/:id' & '/guilds/:id/channels' | NCPlayz | 2019-06-07 | 4 | -0/+94 | |
| | | | | | Signed-off-by: NCPlayz <[email protected]> | |||||
| * | Add support for system channel flags | Rapptz | 2019-06-06 | 4 | -3/+140 | |
| | | ||||||
| * | Fix stray colon in Asset related docstrings | Rapptz | 2019-06-04 | 3 | -6/+6 | |
| | | ||||||
| * | Add support for animated guild icons. | Rapptz | 2019-06-04 | 3 | -8/+38 | |
| | | ||||||
| * | Add support for new message types related to premium guilds. | Rapptz | 2019-06-04 | 3 | -8/+40 | |
| | | ||||||
| * | Add Member.premium_since to denote member boost date. | Rapptz | 2019-06-04 | 1 | -1/+5 | |
| | | ||||||
| * | Add Emoji.available field | Rapptz | 2019-06-04 | 1 | -1/+4 | |
| | | ||||||
| * | Add Guild.premium_subscription_count | Rapptz | 2019-06-04 | 1 | -2/+6 | |
| | | ||||||
| * | Add Guild.premium_tier and corresponding limits. | Rapptz | 2019-06-04 | 1 | -1/+30 | |
| | | ||||||
| * | Probably fix indentation. | Rapptz | 2019-05-30 | 1 | -2/+2 | |
| | | ||||||
| * | Update readthedocs.yml to v2 configuration file. | Rapptz | 2019-05-30 | 1 | -4/+12 | |
| | | ||||||
| * | Properly handle compute_prune_count in prune members endpoint. | Rapptz | 2019-05-30 | 1 | -1/+1 | |
| | | ||||||
| * | Use a dict instead of getattr for parsing events. | Rapptz | 2019-05-29 | 3 | -4/+10 | |
| | | | | | | | | | | | | Probably not a significant difference but might as well use it here. The basic idea is to cache the getattr calls instead of repeatedly doing it (since they're around 105ns on my machine). The dictionary lookup is about 41ns on my machine. The next step in speeding up library code some more should be in the parser bodies themselves but that's a problem to tackle another day. | |||||
| * | Speed-up utils.get for the common cases | Rapptz | 2019-05-29 | 1 | -11/+21 | |
| | | ||||||
| * | Ensure message links resolve in the Messageable.pins note. | Rapptz | 2019-05-27 | 1 | -2/+2 | |
| | | ||||||
| * | Add note that Messageable.pins does not contain Message.reactions | Rapptz | 2019-05-27 | 1 | -0/+6 | |
| | | | | | Fix for #2189 | |||||
| * | Make __repr__ slightly more detailed and add a few missing ones. | Rapptz | 2019-05-26 | 9 | -15/+65 | |
| | | | | | | | This includes raw events (which didn't have any) and a few other types that were missing them. Upon review some more useful fields were added to the repr output which would be more useful during debugging. | |||||
| * | Add note for Message.tts | Rapptz | 2019-05-25 | 1 | -0/+2 | |
| | | | | | Fix #2186 | |||||
| * | Use attrgetter to speed up Member attribute access by 2x. | Rapptz | 2019-05-25 | 1 | -2/+5 | |
| | | ||||||