aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Propagate exception in Client.runRapptz2019-06-201-0/+2
| | | | Fix #2237
* Raise max encoder bitrate to 512kbpsImayhaveborkedit2019-06-201-1/+1
| | | Any higher is useless for opus anyways.
* [commands] Add missing word in HelpCommand documentationHarmon2019-06-201-1/+1
|
* Catch asyncio.CancelledError in 3.8 in typing context managerBenjamin Mintz2019-06-201-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.Rapptz2019-06-121-3/+4
|
* Rename error type for `X.fetch_channel(s)`.NCPlayz2019-06-122-2/+2
|
* docs: Fix minor typoReece Dunham2019-06-122-6/+6
|
* Set premium_since when copying and updating MemberSnowyLuma2019-06-111-0/+2
|
* Version bump to 1.2.2v1.2.2Rapptz2019-06-092-2/+12
|
* Update docs to note Enum derivation changeToby Harradine2019-06-101-1/+2
|
* Crowdin translation syncRapptz2019-06-0918-9361/+15939
|
* Fix descriptor detection in enum code.Rapptz2019-06-091-7/+10
|
* Version bump to 1.2.1v1.2.1Rapptz2019-06-092-2/+13
|
* Disallow deleting of enum attributes.Rapptz2019-06-091-0/+3
|
* Add EnumMeta.__reversed__ just in case someone does this.Rapptz2019-06-091-0/+3
| | | | I sure hope not.
* Add EnumMeta.__len__ to not break user avatar code.Rapptz2019-06-091-0/+3
|
* Some documentation touch-ups and missing stuff in the changelog.Rapptz2019-06-092-1/+5
|
* Remove unused import.Rapptz2019-06-091-1/+0
|
* Version bump to 1.2.0v1.2.0Rapptz2019-06-094-2/+62
|
* Fix reference typo in SystemChannelFlagsRapptz2019-06-091-1/+1
|
* Publicly expose a type property for all channels.Rapptz2019-06-093-12/+22
| | | | Fix #2185
* Replace Enum with an internal one for significant speed improvements.Rapptz2019-06-093-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.Rapptz2019-06-081-3/+6
|
* Implement `Guild.get_all_premium_subscribers`NCPlayz2019-06-081-0/+5
|
* Document new Guild.featuresRapptz2019-06-071-3/+10
|
* Improve performance of parsing MESSAGE_UPDATE and MESSAGE_CREATE eventsRapptz2019-06-072-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 documentationNCPlayz2019-06-0748-559/+642
|
* Added comment for/redo system informationNCPlayz2019-06-071-3/+2
|
* Implementing GET '/channels/:id' & '/guilds/:id/channels'NCPlayz2019-06-074-0/+94
| | | | Signed-off-by: NCPlayz <[email protected]>
* Add support for system channel flagsRapptz2019-06-064-3/+140
|
* Fix stray colon in Asset related docstringsRapptz2019-06-043-6/+6
|
* Add support for animated guild icons.Rapptz2019-06-043-8/+38
|
* Add support for new message types related to premium guilds.Rapptz2019-06-043-8/+40
|
* Add Member.premium_since to denote member boost date.Rapptz2019-06-041-1/+5
|
* Add Emoji.available fieldRapptz2019-06-041-1/+4
|
* Add Guild.premium_subscription_countRapptz2019-06-041-2/+6
|
* Add Guild.premium_tier and corresponding limits.Rapptz2019-06-041-1/+30
|
* Probably fix indentation.Rapptz2019-05-301-2/+2
|
* Update readthedocs.yml to v2 configuration file.Rapptz2019-05-301-4/+12
|
* Properly handle compute_prune_count in prune members endpoint.Rapptz2019-05-301-1/+1
|
* Use a dict instead of getattr for parsing events.Rapptz2019-05-293-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 casesRapptz2019-05-291-11/+21
|
* Ensure message links resolve in the Messageable.pins note.Rapptz2019-05-271-2/+2
|
* Add note that Messageable.pins does not contain Message.reactionsRapptz2019-05-271-0/+6
| | | | Fix for #2189
* Make __repr__ slightly more detailed and add a few missing ones.Rapptz2019-05-269-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.ttsRapptz2019-05-251-0/+2
| | | | Fix #2186
* Use attrgetter to speed up Member attribute access by 2x.Rapptz2019-05-251-2/+5
|
* Add Discord error code to HTTPException message.Rapptz2019-05-241-3/+3
|
* Fix pluralization errors in various filesEhren Julien-Neitzert2019-05-235-6/+6
| | | | | * Replaced instances of 'return an' with 'returns an' * fixed pluralization errors
* Grammar fixes for notes on EmbedProxyDante Dam2019-05-231-3/+3
|