aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Warn on high latency and blocking heartbeatHornwitser2019-01-281-1/+16
| | | | | | | Add warnings for when the heartbeat is blocked for a long time and when the websocket latency is excessively high. These indicate problems with blocking the event loop and/or insufficient computing resources to keep up with the demand.
* Fix README.rst for PyPiHornwitser2019-01-283-3/+4
| | | | | | Add long_description_content_type in setup.py, fix incorrectly matched up title underlines in README.rst, and fix incorrect entry in MANIFEST.in that was forgotten when the README was renamed in 06296bf.
* Update voice code to vws V4Imayhaveborkedit2019-01-284-24/+86
| | | | | | | - Update internals to be compatible with v4 - Adds multiple encryption mode support. Previously only `xsalsa20_poly1305` was supported. Now `xsalsa20_poly1305_suffix` is also supported. Note: There is no (nice) way to manually select a mode. The user needn't worry about this however. - Fixed speaking state bug. When you disconnected from a voice channel while a bot was playing, upon reconnect you would be unable to hear the bot. This was caused by bots not sending their speaking state while transmitting. Bots will now set their speaking state properly when transmitting. Note: This does not account for sending actual silence, the speaking indicator will still be active.
* Fix accidental regression of 9bc48b2 in fa46b07Hornwitser2019-01-281-1/+1
| | | | | Occured due to difficult to spot difference in git merge when rebasing the lint changes.
* Bumped copyright years to 2019.Dante Dam2019-01-2859-60/+60
|
* Fix the Context.message example to actually use ctx.messageChris Rrapi2019-01-281-3/+2
|
* Implement PartialEmoji == Emoji (fixes #1627)Ben Mintz2019-01-281-0/+10
|
* Fix user/user_id documentation for reaction remove eventsMusicOnline2019-01-282-2/+2
|
* Do None instead of falsy checks on Command attributesDevon R2019-01-281-3/+3
|
* Change Greedy behaviour slightly during conversion errors.MusicOnline2019-01-281-7/+3
| | | | | Make Greedy swallow conversion errors and return the default if there are no convertible args
* Use a tuple for startswith in mime detection code.Valentin2019-01-281-1/+1
|
* Allow additional parameters on channel creationTyler2019-01-282-17/+45
|
* Fix typo in Permissions.all_channelStarrFox2019-01-281-1/+1
|
* Fix Webhook states for stateful objectsDice2019-01-281-3/+3
|
* Fix overwriting of AuditLogDiff.roles for multiple $add/$remove keysRapptz2018-12-311-1/+2
|
* Log rate limit hits into WARNING instead of INFO.Rapptz2018-12-271-2/+2
|
* Fix typo in exception message in Guild.editRapptz2018-12-171-2/+2
|
* Add support for explicit_content_filter in Guild.editRapptz2018-12-172-2/+10
|
* Fix some lingering attribute setting issues.Rapptz2018-12-141-0/+5
|
* Add support for mobile indicators and per-client statuses.Rapptz2018-12-142-9/+36
|
* Add support for spoiler attachments.Rapptz2018-12-142-1/+10
|
* Update Message.mention_everyone docs to include @hereLaurenz2018-12-142-4/+4
|
* Added User.mutual_friends()CapnS2018-12-142-0/+24
|
* [commands] Remove message being required from Role/Member converters.Dice2018-12-141-3/+2
| | | | | | This allows for easier "mock" context objects, for those who use converters as utility functions outside of commands, and it's more straightforward with the rest of the file.
* Handle implicit perms in discord.VoiceChannel.permissions_forMichael H2018-12-141-0/+13
| | | | | This adds some implicit permission handling for `discord.VoiceChannel.permissions_for` This is not documented behavior in discord's developer documentation, but it can easily be verified as correct.
* Add override to `close()` method to the websocket subclass.CraftSpider2018-12-141-0/+6
| | | | | This makes it so that _keep_alive is stopped no matter which closing method is called
* Fix AttributeError in webhook.sendChris Rrapi2018-11-291-1/+1
|
* Fix documentation for NotificationLevelChris R2018-11-261-2/+2
|
* Fix bug in Guild.splash_urlRapptz2018-11-261-1/+1
|
* Support discordapp.com invite URLs.Rapptz2018-11-251-1/+1
|
* Add support for default notification level in audit logs and Guild.editRapptz2018-11-255-21/+40
|
* Support webp in _get_mime_type_for_imagekhazhyk2018-11-241-0/+2
| | | untested
* Add Guild.default_notificationsChris2018-11-243-3/+21
|
* [commands] Add support for IDs in the role related checks.Xua2018-11-241-17/+25
| | | | | | | | | This affects: * commands.has_role * commands.has_any_role * commands.bot_has_role * commands.bot_has_any_role
* Fix is_in_guild example checkLyricLy2018-11-241-1/+1
|
* Translated some parts of the documentation to Japanese.Episword2018-11-244-2414/+2543
| | | | Mainly files api.po, migrating.po, commands api.po and commands.po.
* Add channel category cooldown bucket typeDice2018-11-242-5/+9
|
* Outline the logic of `bool` convertersscragly2018-11-241-0/+12
| | | As a `bool` converter is treated differently from other callable (basic) converters, the explanatory docs should outline that it is evaluated differently from a simple type cast, and what logic is used in determining how the content is evaluated.
* Group Advanced Converters and Inline Advanced Convertersscragly2018-11-241-58/+58
| | | The Inline Advanced Converters are a logical extension of the Advanced Converters subject, and as such should be placed under that section without an unrelated converter type breaking the two up.
* bot.unload_extension: also allow events with no modulebmintz2018-11-241-6/+4
| | | | | | | | | | It turns out that events created in an eval command also cause the issue described in #1506. Ensure that events we remove are part of a module as well. Also performs minor comment maintenance ("x", "first y", "then z") -> ("x", "y", "z")
* Trim whitespace in artist names in Spotify.artistsAmit Katz2018-11-241-1/+1
| | | | | | Basically Discord retrieves the data like `artist1; artist2; artist3` and when you split only by `;` the results will be: `[artist1, " artist2", " artist3"]`
* Webhooks: add support for multi-file uploadTerrance2018-11-241-8/+28
| | | | | | | | | `Webhook.send()` now accepts a `files` kwarg holding a list of `File` objects, which are included in the HTTP request as `file1`, `file2` and so on. This is an undocumented feature of the Discord API, but is analogous with the client's sending of messages with multiple files.
* Actually drop copy.copy in MemberHornwitser2018-11-241-6/+0
| | | | | | Remove the old and slow Member._copy implementation that was left over by accident in 095f0ec. Since it was defined later it overrode the new implementation and rendered it moot.
* Add support for multiple activitiesSnowyLuma2018-11-246-12/+24
|
* add support for Bug Hunter and Early Supporter flagsbmintz2018-11-243-4/+20
|
* Add missing asyncio imports from the examplesCapn2018-11-243-0/+3
|
* [lint] Removed unused variable handlerHornwitser2018-11-241-1/+0
| | | | Left over by the removal of handlers in 2721689.
* [lint] Remove extra whitespace in guild.pyHornwitser2018-11-241-1/+1
| | | | Remove trailing whitespace in guild.py introduced by 3727ea9.
* [lint] Changed missed docstrings to raw-stringHornwitser2018-11-241-2/+2
| | | | Missed by a4d1599 despite being pointed out in #1570.
* [lint] Fix import orderHornwitser2018-11-2419-70/+83
| | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library.