aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: `on_guild_emojis_update` is a `Sequence`jack11422019-10-171-2/+2
|
* add suppress-embeds to on_message_edit triggersRiley Shaw2019-10-171-0/+1
|
* Add europe regionapple502j2019-10-171-0/+9
|
* change game playing to activityRiley Shaw2019-08-271-1/+1
|
* Add CHANNEL_FOLLOW_ADD Message TypeDice2019-08-271-0/+6
| | | | | | | | Add documentation for MessageType.channel_follow_add Add versionchanged to new MessageType attr Add system_content for new MessageType
* Add FFmpegOpusAudio and other voice improvementsImayhaveborkedit2019-07-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix some linking issues with TeamMembershipStateRapptz2019-06-301-2/+2
|
* Remove constructibility from certain classes in documentation.Rapptz2019-06-301-4/+4
|
* [commands] Properly raise the correct exception for owner_idsRapptz2019-06-291-4/+1
| | | | Also some minor nits with documentation.
* Support team members data in application infofourjr2019-06-291-0/+21
|
* Update Sphinx to 2.1.2Rapptz2019-06-281-18/+22
|
* Update docs to note Enum derivation changeToby Harradine2019-06-101-1/+2
|
* Fix exception hierarchy documentation.Rapptz2019-06-081-3/+6
|
* Improve documentationNCPlayz2019-06-071-83/+131
|
* Add support for system channel flagsRapptz2019-06-061-0/+7
|
* Add support for new message types related to premium guilds.Rapptz2019-06-041-0/+16
|
* Fix pluralization errors in various filesEhren Julien-Neitzert2019-05-231-1/+1
| | | | | * Replaced instances of 'return an' with 'returns an' * fixed pluralization errors
* Update on_group_join docsapple502j2019-05-181-2/+1
|
* Add India region to VoiceRegionapple502j2019-05-131-0/+3
|
* Document remaining public enums.NCPlayz2019-05-091-17/+110
| | | | | | | | | - UserContentFilter - FriendFlags - PremiumType - Theme UserFlags is not documented as though it is only used internally.
* Add cached_message to on_raw_message_edit eventVexs2019-05-091-0/+3
| | | | Also add documentation for this behavior
* voice room → voice channel in event documentationRapptz2019-04-251-2/+2
|
* Fix typo in on_raw_reaction_remove docs.Rapptz2019-04-141-1/+1
|
* Remove "needs python 3.5+" from async iter sectionapple502j2019-04-121-2/+1
|
* Fix broken documentation attributeSteve C2019-04-091-1/+1
|
* Fix documentation so Sphinx can build semi-cleanly.Rapptz2019-04-081-1/+1
|
* Remove manual documentation for AppInfoRapptz2019-04-081-47/+0
|
* Fix long-standing issue with user updates not dispatching properly.Rapptz2019-04-081-1/+13
| | | | | | | | | | | | | | | | | | | | | | 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
* Add some version guarantees to the documentation.Rapptz2019-04-081-6/+5
|
* Add helpers to escape markdown and mentions from text.Rapptz2019-04-061-0/+5
| | | | Fixes #1673
* Redesign bulk delete eventsVexs2019-04-061-9/+31
| | | | | | | | | 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
* Redesign asset retrieval in the library.NCPlayz2019-04-061-0/+9
| | | | | | | | | | | 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
* Some widget fixes.Rapptz2019-03-191-0/+19
|
* Organise documentationNCPlayz2019-03-191-5/+5
|
* Minor typo fix.Rapptz2019-03-181-1/+1
|
* Add on_disconnect event.Rapptz2019-03-181-0/+8
| | | | I assume this is where it has to be. Fix #1937
* Add support for store channels.Rapptz2019-03-171-0/+4
|
* Add exception hierarchy to the documentation.Rapptz2019-03-121-0/+17
|
* Add support for guild news channels.Rapptz2019-03-081-0/+3
|
* Add guild_integrations_update eventCraftSpider2019-02-181-0/+6
|
* Expose more information from partial invites, along with counts.Rapptz2019-02-121-0/+11
| | | | | | | | | | | | | This adds the following information. * `PartialInviteGuild` to replace `Object` patching * `PartialInviteChannel` to replace `Object` patching * Invite.approximate_member_count and Invite.approximate_presence_count The new partial objects provide better documentation on what is expected when you fetch random invites. Fixes #1830
* Fix typo in API documentation.stuarth2019-02-061-1/+1
|
* Remove notes about Client.messagesXua2019-02-061-5/+5
| | | Since `Client.messages` no longer exists, I think we should remove the note about the cache being named that.
* Fix user/user_id documentation for reaction remove eventsMusicOnline2019-01-281-1/+1
|
* Fix documentation for NotificationLevelChris R2018-11-261-2/+2
|
* Add support for default notification level in audit logs and Guild.editRapptz2018-11-251-1/+7
|
* Add Guild.default_notificationsChris2018-11-241-0/+11
|
* add support for Bug Hunter and Early Supporter flagsbmintz2018-11-241-0/+6
|
* Revert "Rework documentation to not duplicate inherited members."Rapptz2018-10-111-0/+42
| | | | This reverts commit 96981210b3415e15446db0b702b07fef25c8b680.
* Rework documentation to not duplicate inherited members.Rapptz2018-10-031-42/+0
| | | | This will probably be reverted in 1 week.