| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Event on_invite_create (and presumably _delete) require Manage Channels permission.
|
| | |
|
| |
|
|
|
| |
* Fix indentation for versionadded for Team.members
* Replace tabs with spaces in API Reference documentation
|
| |
|
|
|
|
|
|
|
| |
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Fix issue where sleeping for an extended period on python 3.5
would cause an exception
Add sleep_until to API docs
Add result argument to sleep_until
|
| | |
|
| |
|
|
| |
Closes #2440
|
| | |
|
| | |
|
| |
|
|
|
|
| |
It's been long enough.
Fixes #2400
|
| | |
|
| | |
|
| |
|
|
| |
Refactor flags placement and use it for suppression.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Add documentation for MessageType.channel_follow_add
Add versionchanged to new MessageType attr
Add system_content for new MessageType
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework FFmpeg player and add FFmpegOpusAudio
I have extracted some of the base FFmpeg source code into its own
base class and reimplemented the PCM and the new Opus variants.
Support avconv probing
Also fix a few things
Update `__all__`
Fix the bugs
Rework probe functions and add factory function
Probing involves subprocess so it has been reworked into an async
factory function.
Add docs + a few tweaks
* Removed unnecessary read() and is_opus() functions from FFmpegAudio
* Clear self._stdout in cleanup()
* Add 20 second process communication timeout to probe functions
* Capped probe function bitrate values at 512
Change AudioPlayer to use more accurate, monotonic time.perf_counter()
Add lazy opus loading
The library now no longer loads libopus on import, only on
opus.Encoder creation or manually.
Fix review nits
|
| | |
|
| | |
|
| |
|
|
| |
Also some minor nits with documentation.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* Replaced instances of 'return an' with 'returns an'
* fixed pluralization errors
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- UserContentFilter
- FriendFlags
- PremiumType
- Theme
UserFlags is not documented as though it is only used internally.
|
| |
|
|
| |
Also add documentation for this behavior
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fix is long coming. For a long time due to the addition of a
global user cache, the on_member_update event would only have the
updated user in the very first dispatch due to a quirk in the reference
only being updated once.
In order to fix this issue two things had to change:
1. There had to be a new event, `on_user_update` to complement
the equivalent member event.
2. Unnecessary copies of User had to be removed to compensate for the
performance hit from the diffing.
While doing these two fixes I also re-evaluated some more unnecessary
copies done during the PRESENCE_UPDATE to add member case while
fetch_offline_members=False is set or due to chunking issues. The
number of copies was brought down from 2 to 1, discounting the original
Member creation. Unsure on the benefits of this one, however.
N.B: this doesn't change the pre-existing behaviour of on_member_update
|
| | |
|
| |
|
|
| |
Fixes #1673
|
| |
|
|
|
|
|
|
|
| |
Change `parse_message_delete_bulk` to not dispatch individual
`message_delete` events, and instead `bulk_message_delete`. Also make
`raw_bulk_message` delete and `raw_message_delete` have message
objects attached.
Fixes #1807
|
| |
|
|
|
|
|
|
|
|
|
| |
Most assets now return a new class named `Asset`. This allows for the
assets to be consistently saved via a `save` method instead of special
casing for `Attachment`.
`AppInfo` is no longer a namedtuple it is a fully documented dataclass,
as well as having the state attached to it.
Fixes #1997
|
| | |
|
| | |
|