aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
Commit message (Collapse)AuthorAgeFilesLines
* on_invite_create requires Manage Channelsthe-white-light2020-02-221-0/+2
| | | | Event on_invite_create (and presumably _delete) require Manage Channels permission.
* Add discord.ChannelType.category to documentationDeniz2020-02-161-0/+3
|
* Documentation fixes (#2531)Harmon2020-01-241-7/+7
| | | | | * Fix indentation for versionadded for Team.members * Replace tabs with spaces in API Reference documentation
* Fixes and improvements for v1.3 documentationHarmon2020-01-221-6/+37
| | | | | | | | | * 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
* Add changelog for v1.3Rapptz2020-01-221-0/+1
|
* Improve usability of utils.sleep_untilJosh B2020-01-211-0/+1
| | | | | | | | | 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
* Drop final 0 in versionadded numbers in api.rstRapptz2020-01-211-7/+6
|
* Add support for clearing a specific reaction.Rapptz2020-01-171-5/+35
| | | | Closes #2440
* Add support for on_invite_create and on_invite_deleteRapptz2020-01-171-0/+31
|
* Document BaseActivityRapptz2020-01-141-0/+6
|
* Add support for custom activitiesRapptz2020-01-141-0/+9
| | | | | | It's been long enough. Fixes #2400
* Add `VoiceRegion.dubai`NCPlayz2020-01-061-1/+4
|
* Add Profile.system and Profile.team_user to query newer flagsRapptz2019-12-211-3/+9
|
* Implement discord.MessageFlagsNCPlayz2019-12-201-0/+6
| | | | Refactor flags placement and use it for suppression.
* Implement `Webhook.type`NCPlayz2019-11-261-0/+12
|
* Add new audit log entry types. Fix issue with unknown entry typesJosh B2019-11-261-2/+87
|
* 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
|