aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [commands] raise ConversionError on Converter errorkhazhyk2018-07-203-26/+47
| | | | | | This assumes that a Converter class raising non-CommandError is a programmer error. Makes this type of error easier to disambiguate from a generic BadArgument.
* [docs] discord/client: remove reference to async_eventbmintz2018-07-191-9/+2
|
* Remove remaining asyncio.coroutine calls.bmintz2018-07-052-11/+2
| | | | Also remove Client.async_event
* Store guild, unavailable tuple in ready as wellkhazhyk2018-06-301-1/+1
| | | | | | This should fix userbots. Fixes: 74380cd ("don't drop guild_available/join before ready")
* Fix __aiter__ compatibility with 3.7.Rapptz2018-06-291-1/+1
|
* Change jump_to_url to jump_url and fix format.Rapptz2018-06-291-2/+2
| | | | People kept asking, might as well.
* don't drop guild_available/join before readykhazhyk2018-06-291-5/+23
| | | | | | | large guilds that recieved GUILD_CREATE events prior to READY would never dispatch guild_available/join. This is inconsistent with smaller guilds and makes these events unreliable. Dispatch the "delayed" guilds after they've been chunked, prior to ready.
* [commands] Change command_prefix behaviourHornwitser2018-06-291-17/+53
| | | | | | | | Change the behaviour of handling iterable command_prefix types to not silently ignore falsy prefixes and unify behaviour for all iterable types. Add special handling of a possible TypeError in both get_prefix and get_context for when the prefix is a different type from what is expected.
* docs/mimgrating.rst: CPython 3.5.2 is not supported!Ben Mintz2018-06-213-3/+3
| | | | | The minimum version supported by aiohttp is CPython 3.5.3, not 3.5.2. Fixes #1344.
* Fix typo in Permissions.is_subset/is_supersetHornwitser2018-06-211-2/+2
| | | | | | | Fix the name for the other's type when raising TypeError being incorrectly written as __class__name instead of __class__.__name__ in the is_subset and is_superset methods of the Permissions class. This was introduced at the creation of these methods in 21c88cf.
* Fix case insensitive command removalHarmon2018-06-211-0/+3
|
* Bump Sphinx to 1.7.4Rapptz2018-06-211-1/+1
|
* Fix Bot.get_prefix second parameter breaking.Rapptz2018-06-101-1/+1
|
* Disable compression for websockets.Rapptz2018-06-102-3/+3
| | | | Increase of RAM and CPU doesn't give me much benefit I feel.
* Fix NameError for typing context manager.Rapptz2018-06-101-1/+1
| | | | Fixes #1342
* Remove dead package references.Rapptz2018-06-108-9/+7
|
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-1035-1069/+626
|
* Add Message.jump_to_urlRapptz2018-06-101-0/+6
|
* Remove emojis from cache if they're removed from a guild.Rapptz2018-05-191-0/+2
|
* Fixes various documentation errors/inconsistenciesSteve C2018-05-189-37/+59
| | | | Mostly dealing with permissions, also fixes Raw Events inclusion.
* abc.GuildChannel.set_permissions can raise NotFound.Rapptz2018-05-181-0/+2
| | | | Fix #1254
* Document user parameter in Guild.get_banRapptz2018-05-081-0/+5
|
* Add support for getting individual ban entriesslice2018-05-072-0/+33
|
* Filter null mentions when creating a Message.Rapptz2018-04-201-1/+1
|
* Change raw events to use slotted data models instead of parameters.Rapptz2018-04-143-59/+233
| | | | | | | | | | This allows for internal changes in Discord to not cause a breaking change every time something changes. Also implements #1214 which adds guild_id to every event where applicable. This is a breaking change.
* Downgrade websockets due to bugs.Rapptz2018-04-091-1/+1
| | | | | | https://github.com/aaugustin/websockets/issues/350 keeps causing too many issues for too many people for this version to be used by the public users of this library.
* Userbots do not have a DM cache cap limit.Rapptz2018-04-021-1/+1
|
* Actually fix the order in Guild.by_category.Rapptz2018-03-311-2/+2
|
* Flip comparison in Guild.by_category.Rapptz2018-03-311-1/+1
|
* Force RTD to pip install rather than use setup.py installWill Tekulve2018-03-251-0/+11
|
* Correct docstring for GameMitchell Ferree2018-03-251-1/+1
|
* Improve basic_voice exampleDaniel2018-03-251-30/+34
| | | | | | Add stream option and command so we don't always have to download a file Move repeated voice check code to before_invoke hook Add typing indicators when making YTDLSources
* Sort voice channels below text channels in Guild.by_categoryRapptz2018-03-251-1/+1
|
* [commands] Don't handle single quotes.Rapptz2018-03-201-2/+0
|
* Fix Webhook.guild raising an AttributeError.Rapptz2018-03-161-1/+1
| | | | Fixes #1148
* Add Spotify intergration colourMyst(MysterialPy)2018-03-091-0/+15
| | | | | | | | Added property `colour` and alias `color` which returns the Spotify integration colour (#1db954). Technically Discord uses both (#1cb050 and #1db954) but it appears the former is an official Spotify colour.
* Fix _image_url returning htpsMyst(MysterialPy)2018-03-071-2/+2
| | | | | Should be https :) Just made this a separate PR from my previous one, in-case you decide to not include it.
* Convert Client.activity back to an Activity-like objectRapptz2018-03-061-2/+2
|
* Missing import for _ActivityTag inside ClientRapptz2018-03-061-0/+1
|
* Fix session_id in Spotify.to_dictHarmon2018-03-061-1/+1
|
* Add some documentation for the Game to Activity breaking change.Rapptz2018-03-061-0/+5
|
* [commands] Minor optimisations to unicode quote handling.Rapptz2018-03-061-3/+6
|
* [commands] Added handling for unicode quotesb-hodges2018-03-061-14/+43
|
* [commands] Add ability to have case insensitive commands.Rapptz2018-03-062-1/+28
| | | | | | | | | | This is powered by a dict-like class for the people who want to opt-in to the performance downgrade for usability for majority English speaking users. Since it is slower than the regular dict due to the excessive calls to str.lower along with the possibilities of gotchas for other languages outside of English, this is kept as False for the default case.
* Fix typo in TextChannel.delete_messages documentation.Rapptz2018-03-061-3/+3
|
* Fix invalid close errors on websockets 4.xRapptz2018-03-062-2/+2
| | | | Fixes #1110
* Add ability to change the activity used when logging in at runtime.Rapptz2018-03-051-0/+14
|
* Split Game object to separate Activity subtypes for Rich Presences.Rapptz2018-03-0512-150/+708
| | | | | | | | | | | This is a massive breaking change. * All references to "game" have been renamed to "activity" * Activity objects contain a majority of the rich presence information * Game and Streaming are subtypes for memory optimisation purposes for the more common cases. * Introduce a more specialised read-only type, Spotify, for the official Spotify integration to make it easier to use.
* Update docstrings for channel.pyJared Shields2018-02-261-1/+4
| | | | `delete_messages` requires `manage_messages`; the docs in here, nor on RTD reflect this. Small amendment at line 180, adding three additional.
* Add missing coroutine decorator to HTTPClient.get_attachmentRapptz2018-02-261-0/+1
| | | | Fixes #1104