aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use X-Ratelimit-Reset-After header by default.Rapptz2019-08-273-7/+22
| | | | There is now an option to turn it off, of course.
* Fix bucket key to not have the method in there.Rapptz2019-08-271-1/+1
|
* Use new rate limit millisecond precision option.Rapptz2019-08-272-10/+7
|
* Actually add things to the message cache.Rapptz2019-08-271-2/+2
|
* Create Permissions and Colour objects when necessary in RoleRapptz2019-08-271-8/+15
| | | | | | | | | | This should have some memory savings of ~24 bytes per role. * 8 bytes for Permissions * 8 bytes for Colour * 8 bytes for the alias I'm not sure how significant it is but it should be a decent amount.
* Fix _get_message returning the message cache.Lorenzo2019-08-271-1/+1
|
* Make permissions_synced actually return Falseapple502j2019-08-271-1/+1
| | | The code before this returned None when there is no category.
* Strip tokens before use.Rapptz2019-08-271-1/+1
| | | | Closes #2135
* Allow disabling the message cache with max_messages=NoneRapptz2019-08-272-10/+20
| | | | | | This also changes the default to 1000 instead of 5000 since it can take some time for small bots to cycle through the default and they make up the majority of it.
* Add Message.is_system to more intuitively filter system messages.Rapptz2019-08-271-0/+7
|
* Add versionadded string to GuildChannel.permissions_syncedRapptz2019-08-271-0/+2
|
* change game playing to activityRiley Shaw2019-08-271-1/+1
|
* Add CHANNEL_FOLLOW_ADD Message TypeDice2019-08-273-0/+10
| | | | | | | | Add documentation for MessageType.channel_follow_add Add versionchanged to new MessageType attr Add system_content for new MessageType
* Add permissions_synced to abc.GuildChannelCapn2019-08-271-0/+10
| | | | 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.
* Explicitly mention discord.Object in abc.Snowflake documentation.Rapptz2019-08-111-0/+3
|
* Add RawReactionActionEvent.event_type attribute.Rapptz2019-08-112-3/+11
| | | | This helps differentiate between reaction removal or addition.
* Add version information from missing PRs.Rapptz2019-08-112-1/+4
|
* [tasks] Add support for explicit time parameter when running.Rapptz2019-08-111-14/+92
| | | | Fixes #2159
* Add channel_id to RawMessageUpdateEventHeath1232019-08-111-1/+4
|
* Disambiguate and normalize documentation for non-bot only methodsTyler2019-08-113-17/+21
|
* [commands] Add role cooldown bucketBluePhoenixGame2019-08-112-1/+11
|
* Add versionadded tags to new ffmpeg related classes.Rapptz2019-07-271-0/+4
|
* [tasks] Add Loop.exception for more reliable exception retrieval.Rapptz2019-07-271-1/+14
|
* Version bump for development purposes.Rapptz2019-07-271-2/+2
|
* abc.Messageable do not have to implement abc.SnowflakeRapptz2019-07-271-2/+0
| | | | Fix #2290
* [commands] Properly load the original module when reloading fails.Rapptz2019-07-271-2/+3
| | | | Fix #2291
* Escape quote markdown in utils.escape_markdownRapptz2019-07-271-1/+1
|
* Document that the cache retrieval functions require an int ID.Rapptz2019-07-232-12/+76
| | | | Closes #2285
* Fix breakage with webhook tokens being missing.Rapptz2019-07-221-7/+18
|
* [commands] Fix confusion between it's and itsDante Dam2019-07-221-1/+1
|
* Add FFmpegOpusAudio and other voice improvementsImayhaveborkedit2019-07-225-52/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [commands] update sys.modules in load_extension againBenjamin Mintz2019-07-181-1/+5
| | | | | 6f71552c508c61d9b6bf024fc259063ad056b7c4 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.
* on_member_leave => on_member_removeTarek2019-07-181-1/+1
|
* Fix: another capitalization issue in docstringReece Dunham2019-07-181-1/+1
|
* [commands] Bot.is_owner should be marked as coroutineed5882019-07-181-1/+3
|
* [commands] Fix CategoryChannel not appearing in converter tableDante Dam2019-07-181-27/+27
|
* Fix return type docstring for BaseUser.default_avatarSteve C2019-07-181-1/+1
|
* Fix doc URL in Client.fetch_guildSteve C2019-07-181-1/+1
|
* use proper ip for endpoint ipJake2019-07-171-0/+1
|
* Proper boolean check for caching members.Rapptz2019-07-151-1/+1
|
* Better knowledge on how guild_subscriptions work now.Rapptz2019-07-151-1/+6
|
* Add Guild.query_members to fetch members from the gateway.Rapptz2019-07-154-8/+97
|
* Allow complete disabling of the member cache.Rapptz2019-07-111-1/+4
|
* Use Guild.owner_id in Guild.edit when checking if the bot owns a guild.Rapptz2019-07-101-1/+1
|
* Use lower level Guild.owner_id for permission resolution.Rapptz2019-07-102-3/+2
|
* Fix NameError in member upgrade codeRapptz2019-07-101-1/+1
|
* Add versionadded for guild_subscriptions option.Rapptz2019-07-101-14/+16
|
* [commands] Fall back to using Message.mentions in convertersRapptz2019-07-101-2/+4
| | | | Useful if there's no cache.
* Add upgraded Member to Message.mentions in case of no cache.Rapptz2019-07-102-5/+20
|
* Add VoiceChannel.voice_states low level helper.Rapptz2019-07-101-0/+18
|