aboutsummaryrefslogtreecommitdiff
path: root/discord
Commit message (Collapse)AuthorAgeFilesLines
* Add support for guild subscriptions.Rapptz2019-07-103-0/+26
|
* Different method of upgrading user instancesRapptz2019-07-103-5/+13
|
* Properly populate __slots__ for derived user types.Rapptz2019-07-091-2/+3
| | | | Fixes #2265
* [commands] Don't update sys.modules with a stale reference.Rapptz2019-07-071-1/+1
|
* Fix regression where Message.edited_at would not update during editsRapptz2019-07-051-0/+3
|
* Fix TeamMember.team typehintingJoshua B2019-07-011-1/+1
| | | class Team should be capitalised.
* Export Team related stuff from __init__Rapptz2019-06-302-0/+5
|
* Team.owner should return a TeamMember.Rapptz2019-06-301-3/+2
| | | | Should always be available but who knows.
* TeamMember inherits from BaseUser instead of attribute.Rapptz2019-06-301-10/+34
|
* [commands] Fix up Paginator documentation.Rapptz2019-06-291-2/+2
| | | | These aren't optional.
* [commands] Calculate suffix length at each add_lineMatt (IPv4) Cowley2019-06-291-3/+7
|
* Add support for suppressing embeds.Rapptz2019-06-292-6/+25
|
* Add unused Guild.preferred_localeRapptz2019-06-291-1/+6
|
* Fix regression with unresolved channels due to reordering.Rapptz2019-06-291-3/+5
| | | | | | Channels are meant to fallback to Object if the message is out of order. Somewhere along the commit line this got removed despite the issue still existing.
* [commands] Properly raise the correct exception for owner_idsRapptz2019-06-292-16/+14
| | | | Also some minor nits with documentation.
* fix documentation for GuildChannel.set_permissionsXua2019-06-291-2/+3
|
* [tasks] Removed Returns from decorator docstringNihaal2019-06-291-6/+1
|
* [commands] Don't raise ExtensionNotFound for ImportErrors in modulesBenjamin Mintz2019-06-292-17/+23
| | | | | Now loading an extension that _contains_ a failed import will fail with ExtensionFailed, rather than ExtensionNotFound.
* Support team members data in application infofourjr2019-06-295-5/+187
|
* Implement `Guild.fetch_roles`NCPlayz2019-06-292-0/+27
|
* Implement `Guild.fetch_members`NCPlayz2019-06-293-1/+99
| | | | Also implements `MemberIterator`.
* Update Sphinx to 2.1.2Rapptz2019-06-282-30/+35
|
* Version bump to 1.2.3v1.2.3Rapptz2019-06-251-2/+2
|
* Cast activity enumerator to integer instead of accessing value directlyRapptz2019-06-252-1/+4
| | | | Should make the library more resilient to future changes.
* Only return exception in Client.run when it's not cancelled.Rapptz2019-06-201-1/+2
|
* 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-091-2/+2
|
* Fix descriptor detection in enum code.Rapptz2019-06-091-7/+10
|
* Version bump to 1.2.1v1.2.1Rapptz2019-06-091-2/+2
|
* 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-091-0/+2
|
* Remove unused import.Rapptz2019-06-091-1/+0
|
* Version bump to 1.2.0v1.2.0Rapptz2019-06-091-2/+2
|
* 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)
* 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-0739-442/+475
|
* Implementing GET '/channels/:id' & '/guilds/:id/channels'NCPlayz2019-06-074-0/+94
| | | | Signed-off-by: NCPlayz <[email protected]>