aboutsummaryrefslogtreecommitdiff
path: root/discord
Commit message (Collapse)AuthorAgeFilesLines
* [lint] Remove unnecessary lambdasHornwitser2018-08-223-3/+3
| | | | Lambdas of the form `lambda x: func(x)` are redundant.
* [lint] Remove unused variablesHornwitser2018-08-227-10/+9
| | | | Left over from various refactoring and rewrites.
* [lint] Remove unused importsHornwitser2018-08-2216-21/+3
| | | | Left over from various refactoring and rewrites.
* Fix Reaction.users documentationMusicOnline2018-08-221-4/+1
|
* Adds missing voice regions.MaximusPX2018-08-221-0/+2
|
* Add Colour.from_hsvbmintz2018-08-221-0/+8
| | | | | HSV is an easier to use colour format, and its inclusion in the colour module will hopefully encourage its use.
* Add support for splash(_url) to invitesDismissedGuy2018-08-221-0/+6
|
* Implement roles kwarg for guild.create_custom_emoji and emoji.editPikalaxALT2018-08-223-8/+18
|
* More informations for the Application infoEl Laggron2018-08-221-1/+6
| | | | | This adds the rpc_origin, bot_public and bot_require_code_grant attributes
* [commands] Handle nick mentions in HelpFormatterMichael H2018-08-221-2/+2
| | | | | Modifies the help formatter to handle nicknamed bot users for mentions in clean_prefix
* [commands] Ignore bots from Bot.process_commands by default.Rapptz2018-08-221-1/+7
|
* Update Message.author doctringDunkledore2018-08-221-1/+1
|
* [commands] Added BucketType.members for cooldownsClement2018-08-222-1/+5
|
* Explicitly mark event handlers privateRapptz2018-08-091-2/+2
|
* Add Permissions.priority_speaker.slice2018-07-311-3/+12
|
* message: de-duplicate reaction type conversionbmintz2018-07-311-23/+15
| | | | | | Removes some duplicate code in Message.{add,remove}_reaction. The code in question converts the emoji object from Reaction, Emoji, str, or PartialEmoji to a string form suitable for sending over the wire.
* Fix dumb typo in the warning.Rapptz2018-07-241-2/+3
|
* Add a warning for self-bots in Client.loginRapptz2018-07-241-0/+6
| | | | Closes #1449
* Add clarification about creating guildsKot2018-07-241-2/+2
|
* [commands] Fix broken handling of keyword only parameters.Rapptz2018-07-211-1/+1
| | | | Had a missing `param` argument in the new `do_conversion` code.
* [commands] Fix typing.Union converters for 3.7Rapptz2018-07-201-12/+17
| | | | Guido please don't break this
* [commands] Make ConversionError have the original error as an attributeRapptz2018-07-202-2/+6
|
* [commands] Add support for typing.Union as a converterRapptz2018-07-202-5/+55
|
* Make TextChannel.create_webhook name parameter mandatory.Rapptz2018-07-202-10/+7
|
* Fix crashing with wonky TYPING_START events.Rapptz2018-07-201-1/+1
| | | | Fixes #1439
* Revert "Ensure gif avatar urls end in `.gif`"khazhyk2018-07-201-4/+1
| | | | | | | This reverts commit 456390f417e63126b08ac52fa8ee49ca68cefed8. This commit isn't needed anymore - the image proxy now properly handles gifs that do not end in .gif
* [commands] raise ConversionError on Converter errorkhazhyk2018-07-202-26/+44
| | | | | | 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.
* 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
|
* 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-1028-1008/+607
|
* 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-142-34/+184
| | | | | | | | | | 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.
* Userbots do not have a DM cache cap limit.Rapptz2018-04-021-1/+1
|