BluePhoenixGame
c7d3ebb400
[commands] Add role cooldown bucket
6 years ago
Rapptz
12343c1422
Add versionadded tags to new ffmpeg related classes.
6 years ago
Rapptz
7a8c9e66d9
[tasks] Add Loop.exception for more reliable exception retrieval.
6 years ago
Rapptz
46f6003c66
Version bump for development purposes.
6 years ago
Rapptz
cddcc6d6b6
abc.Messageable do not have to implement abc.Snowflake
Fix #2290
6 years ago
Rapptz
dd12fbf73d
[commands] Properly load the original module when reloading fails.
Fix #2291
6 years ago
Rapptz
8e594ac1ad
Escape quote markdown in utils.escape_markdown
6 years ago
Rapptz
18fe2035ef
Document that the cache retrieval functions require an int ID.
Closes #2285
6 years ago
Rapptz
45375364b7
Fix breakage with webhook tokens being missing.
6 years ago
Dante Dam
da41cceb41
[commands] Fix confusion between it's and its
6 years ago
Imayhaveborkedit
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
6 years ago
Benjamin Mintz
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.
6 years ago
Tarek
92b3a4f8f4
on_member_leave => on_member_remove
6 years ago
Reece Dunham
de1a96b9f7
Fix: another capitalization issue in docstring
6 years ago
ed588
c6133ef881
[commands] Bot.is_owner should be marked as coroutine
6 years ago
Dante Dam
956f4c7151
[commands] Fix CategoryChannel not appearing in converter table
6 years ago
Steve C
ae4989e474
Fix return type docstring for BaseUser.default_avatar
6 years ago
Steve C
7cec42c8f1
Fix doc URL in Client.fetch_guild
6 years ago
Jake
8fdcb4de3b
use proper ip for endpoint ip
6 years ago
Rapptz
93f719aeb7
Proper boolean check for caching members.
6 years ago
Rapptz
f13c1be171
Better knowledge on how guild_subscriptions work now.
6 years ago
Rapptz
5b2f630848
Add Guild.query_members to fetch members from the gateway.
6 years ago
Rapptz
bc352f0e50
Allow complete disabling of the member cache.
6 years ago
Rapptz
edcd9459e3
Use Guild.owner_id in Guild.edit when checking if the bot owns a guild.
6 years ago
Rapptz
562580a07f
Use lower level Guild.owner_id for permission resolution.
6 years ago
Rapptz
91f1f430e1
Fix NameError in member upgrade code
6 years ago
Rapptz
ca2ee0655d
Add versionadded for guild_subscriptions option.
6 years ago
Rapptz
2e6882bd8c
[commands] Fall back to using Message.mentions in converters
Useful if there's no cache.
6 years ago
Rapptz
bbc50c92d0
Add upgraded Member to Message.mentions in case of no cache.
6 years ago
Rapptz
5f272fa151
Add VoiceChannel.voice_states low level helper.
6 years ago
Rapptz
7b8d50a988
Add support for guild subscriptions.
6 years ago
Rapptz
5c1b239b47
Different method of upgrading user instances
6 years ago
Rapptz
e75c248a9a
Properly populate __slots__ for derived user types.
Fixes #2265
6 years ago
Rapptz
6f71552c50
[commands] Don't update sys.modules with a stale reference.
6 years ago
Rapptz
70e62e8fe4
Fix regression where Message.edited_at would not update during edits
6 years ago
Rapptz
4c917d10de
Use the standard way of detecting RTD
6 years ago
Rapptz
ac00fcad77
Flatten genindex to not group names.
Also better width in the tables.
6 years ago
Joshua B
9d0400516a
Fix TeamMember.team typehinting
class Team should be capitalised.
6 years ago
Rapptz
b31028fa19
Fix some linking issues with TeamMembershipState
6 years ago
Rapptz
604e9dfc67
Remove constructibility from certain classes in documentation.
6 years ago
Rapptz
ccb26018ab
Export Team related stuff from __init__
6 years ago
Rapptz
ba7a319ab0
Team.owner should return a TeamMember.
Should always be available but who knows.
6 years ago
Rapptz
c4d1bd7899
TeamMember inherits from BaseUser instead of attribute.
6 years ago
Rapptz
d4b13bd32b
[commands] Fix up Paginator documentation.
These aren't optional.
6 years ago
Matt (IPv4) Cowley
391ff7a486
[commands] Calculate suffix length at each add_line
6 years ago
Rapptz
0cca3ca5c6
Add support for suppressing embeds.
6 years ago
Rapptz
203d702d46
Add unused Guild.preferred_locale
6 years ago
Rapptz
2c16e43e8a
Fix regression with unresolved channels due to reordering.
Channels are meant to fallback to Object if the message is out of
order. Somewhere along the commit line this got removed despite the
issue still existing.
6 years ago
Rapptz
68342db04d
[commands] Properly raise the correct exception for owner_ids
Also some minor nits with documentation.
6 years ago
Xua
69364a25eb
fix documentation for GuildChannel.set_permissions
6 years ago