da4bb0610c
Add CHANNEL_FOLLOW_ADD Message Type
...
Add documentation for MessageType.channel_follow_add
Add versionchanged to new MessageType attr
Add system_content for new MessageType
2019-08-27 04:05:03 -04:00
125a5676b8
Add permissions_synced to abc.GuildChannel
...
This allows users to check whether or not the permissions for a Guild Channel are synced with the permissions for its category. Discord automatically syncs the permissions when the overwrites are equal so just checking if the two overwrites are equal will determine if they are synced.
2019-08-27 03:49:33 -04:00
87c2508199
Explicitly mention discord.Object in abc.Snowflake documentation.
2019-08-11 20:12:32 -04:00
f513d831d1
Add RawReactionActionEvent.event_type attribute.
...
This helps differentiate between reaction removal or addition.
2019-08-11 19:11:22 -04:00
ceaba01776
Add version information from missing PRs.
2019-08-11 19:04:39 -04:00
9f822a1e6d
[tasks] Add support for explicit time parameter when running.
...
Fixes #2159
2019-08-11 18:57:49 -04:00
2c99198033
Add channel_id to RawMessageUpdateEvent
2019-08-11 18:54:25 -04:00
c7a1f5e6e9
Disambiguate and normalize documentation for non-bot only methods
2019-08-11 18:50:31 -04:00
c7d3ebb400
[commands] Add role cooldown bucket
2019-08-11 18:44:16 -04:00
12343c1422
Add versionadded tags to new ffmpeg related classes.
2019-07-27 23:17:06 -04:00
7a8c9e66d9
[tasks] Add Loop.exception for more reliable exception retrieval.
2019-07-27 23:07:48 -04:00
46f6003c66
Version bump for development purposes.
2019-07-27 22:42:04 -04:00
cddcc6d6b6
abc.Messageable do not have to implement abc.Snowflake
...
Fix #2290
2019-07-27 22:38:30 -04:00
dd12fbf73d
[commands] Properly load the original module when reloading fails.
...
Fix #2291
2019-07-27 22:37:55 -04:00
8e594ac1ad
Escape quote markdown in utils.escape_markdown
2019-07-27 22:14:14 -04:00
18fe2035ef
Document that the cache retrieval functions require an int ID.
...
Closes #2285
2019-07-23 04:01:14 -04:00
45375364b7
Fix breakage with webhook tokens being missing.
2019-07-22 20:55:43 -04:00
da41cceb41
[commands] Fix confusion between it's and its
2019-07-22 20:46:40 -04:00
fedf26bf3e
Add FFmpegOpusAudio and other voice improvements
...
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
2019-07-22 20:46:40 -04:00
042a234eac
[commands] update sys.modules in load_extension again
...
6f71552c50
introduced a regression: loading a module that is not in a package
does not add it to sys.modules. Updating sys.modules is required after all.
2019-07-18 18:06:43 -04:00
92b3a4f8f4
on_member_leave => on_member_remove
2019-07-18 18:06:42 -04:00
de1a96b9f7
Fix: another capitalization issue in docstring
2019-07-18 18:06:42 -04:00
c6133ef881
[commands] Bot.is_owner should be marked as coroutine
2019-07-18 18:06:27 -04:00
956f4c7151
[commands] Fix CategoryChannel not appearing in converter table
2019-07-18 18:06:27 -04:00
ae4989e474
Fix return type docstring for BaseUser.default_avatar
2019-07-18 18:06:26 -04:00
7cec42c8f1
Fix doc URL in Client.fetch_guild
2019-07-18 18:06:26 -04:00
8fdcb4de3b
use proper ip for endpoint ip
2019-07-17 13:27:37 -07:00
93f719aeb7
Proper boolean check for caching members.
2019-07-15 08:26:22 -04:00
f13c1be171
Better knowledge on how guild_subscriptions work now.
2019-07-15 08:01:57 -04:00
5b2f630848
Add Guild.query_members to fetch members from the gateway.
2019-07-15 07:56:48 -04:00
bc352f0e50
Allow complete disabling of the member cache.
2019-07-11 00:49:30 -04:00
edcd9459e3
Use Guild.owner_id in Guild.edit when checking if the bot owns a guild.
2019-07-10 14:39:12 -04:00
562580a07f
Use lower level Guild.owner_id for permission resolution.
2019-07-10 14:30:53 -04:00
91f1f430e1
Fix NameError in member upgrade code
2019-07-10 06:11:03 -04:00
ca2ee0655d
Add versionadded for guild_subscriptions option.
2019-07-10 05:00:13 -04:00
2e6882bd8c
[commands] Fall back to using Message.mentions in converters
...
Useful if there's no cache.
2019-07-10 04:51:27 -04:00
bbc50c92d0
Add upgraded Member to Message.mentions in case of no cache.
2019-07-10 04:51:27 -04:00
5f272fa151
Add VoiceChannel.voice_states low level helper.
2019-07-10 04:51:27 -04:00
7b8d50a988
Add support for guild subscriptions.
2019-07-10 04:51:27 -04:00
5c1b239b47
Different method of upgrading user instances
2019-07-10 01:23:38 -04:00
e75c248a9a
Properly populate __slots__ for derived user types.
...
Fixes #2265
2019-07-09 22:51:49 -04:00
6f71552c50
[commands] Don't update sys.modules with a stale reference.
2019-07-07 20:17:44 -04:00
70e62e8fe4
Fix regression where Message.edited_at would not update during edits
2019-07-05 23:52:47 -04:00
4c917d10de
Use the standard way of detecting RTD
2019-07-01 00:37:35 -04:00
ac00fcad77
Flatten genindex to not group names.
...
Also better width in the tables.
2019-06-30 18:59:19 -04:00
9d0400516a
Fix TeamMember.team typehinting
...
class Team should be capitalised.
2019-07-01 03:08:49 +10:00
b31028fa19
Fix some linking issues with TeamMembershipState
2019-06-30 02:38:56 -04:00
604e9dfc67
Remove constructibility from certain classes in documentation.
2019-06-30 02:37:59 -04:00
ccb26018ab
Export Team related stuff from __init__
2019-06-30 02:34:42 -04:00
ba7a319ab0
Team.owner should return a TeamMember.
...
Should always be available but who knows.
2019-06-30 02:34:42 -04:00