aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove Guild.change_vanity_invite in favour of Guild.editRapptz2017-05-091-29/+11
|
* Add back Client.create_guild.Rapptz2017-05-091-1/+47
|
* Rename GuildRegion to VoiceRegion.Rapptz2017-05-094-11/+11
| | | | | This naming makes more sense since voice regions are not a guild exclusive concept.
* Properly check for audit log entry termination.Rapptz2017-05-071-10/+10
|
* Make AuditLogDiff.roles an empty list instead of None.Rapptz2017-05-072-2/+2
|
* Skip None action types when iterating.Rapptz2017-05-071-0/+4
|
* Add support for audit log reasons.Rapptz2017-05-079-131/+217
| | | | Most routes now have a 'reason' keyword argument.
* Fix NameError when making things Object in audit logs.Rapptz2017-05-071-2/+2
|
* Audit log role add and removes are lists, not single item.Rapptz2017-05-062-14/+19
| | | | Breaking change. role -> roles and it's now a list.
* Replace hasattr with try except in chunker.Rapptz2017-05-051-2/+2
|
* Split on_channel_pins_update as well.Rapptz2017-05-051-2/+16
|
* Rework some events to make more sense.Rapptz2017-05-051-9/+10
| | | | | | | | | | | | | | This is a breaking change. 1. Change on_guild_emojis_update to have 3 arguments. - The first parameter is now the guild object 2. Remove on_channel_create, on_channel_delete, and on_channel_update - They are now split into two. - on_guild_channel_[create|delete|update] - on_private_channel_[create|delete|update] 3. Change on_member_ban to allow User. - (member) -> (guild, user) - user can also be a Member
* [commands] Export is_nsfw check.Rapptz2017-05-051-1/+1
|
* Change some format usage to use %-formatting.Rapptz2017-05-045-9/+9
| | | | | Minor speed increase when we're not doing excessive attribute access or any type of formatting.
* Add support for message delete audit log action type.Rapptz2017-05-043-1/+29
|
* Explicitly close UDP sockets when re-creating them.Rapptz2017-05-021-1/+10
| | | | | This does not actually make a big difference since the GC should technically close them when needed but might as well be more explicit.
* Fix NameError in HTTPClient.kickRapptz2017-05-021-1/+1
|
* [commands] Add is_nsfw check.Rapptz2017-05-011-0/+6
|
* Make sure that the chunker task only runs once.Rapptz2017-05-011-25/+34
|
* Add support for setting and retrieving guild vanity invites.Rapptz2017-04-303-0/+64
|
* Changed audit_log to audit_logs in documentationTwentysix2017-04-303-3/+3
|
* Implement audit logs.Rapptz2017-04-309-14/+1294
|
* Better TextChannel.is_nsfw() check.Rapptz2017-04-301-1/+1
|
* Add Client.get_emoji to get an Emoji from an ID.Rapptz2017-04-302-0/+7
|
* Add TextChannel.is_nsfw method to check for NSFW channels.Rapptz2017-04-261-0/+5
|
* Don't set VoiceClient.channel to None when VOICE_STATE_UPDATE says so.Rapptz2017-04-261-1/+3
| | | | | | Sometimes VOICE_STATE_UPDATE gives us a channel_id: null payload and we would end up clearing the VoiceClient.channel state along with it.
* [commands] Fix lack of space in when_mentionedRapptz2017-04-241-1/+1
|
* [commands] Add Context.voice_client shortcut.Rapptz2017-04-241-0/+6
|
* [commands] Make when_mentioned always have both mention formats.Rapptz2017-04-241-5/+2
| | | | | This will allow it to work in mobile clients which don't respect the <@!id> format in case of nicknames.
* Wait 5 seconds before attempting to RESUME during INVALIDATE_SESSION.Rapptz2017-04-221-0/+1
|
* Fix some linting errors.Rapptz2017-04-222-5/+2
|
* Fix NameError in Role.edit when moving roles.Rapptz2017-04-221-0/+1
|
* Fix NameError in GuildChannel.changed_rolesRapptz2017-04-221-0/+1
|
* Timeout when doing initial connection.Rapptz2017-04-223-16/+25
|
* [commands] Allow loading cogs from folders.Rapptz2017-04-212-9/+10
| | | | | | | | | Internally, instead of using module objects just use the `__module__` attribute which is the same thing. From preliminary testing this seems to work fine with both regular one-file-per-cog approaches and the folder cog approach. Fixes #126.
* Allow using Reaction objects while adding or removing reactions.Rapptz2017-04-211-6/+10
|
* Support for new member message types.Rapptz2017-04-212-0/+29
|
* Allow setting a default volume in PCMVolumeTransformer.Rapptz2017-04-191-2/+5
|
* Add PCMVolumeTransformer to augment volume of a PCM stream.Rapptz2017-04-193-4/+72
| | | | | | This also introduces the idea of replacing the VoiceClient.source on the fly. Note that this internally pauses and resumes the audio stream.
* Add VoiceClient.is_paused to query pause state.Rapptz2017-04-192-0/+7
|
* Add VoiceClient.source to get the AudioSource being played.Rapptz2017-04-191-0/+5
|
* Fix static cut-off when playing.Rapptz2017-04-181-2/+8
|
* Clean cache when TimeoutError occurs.Rapptz2017-04-181-1/+1
|
* Better handling of VOICE_SERVER_UPDATE.Rapptz2017-04-183-29/+34
| | | | | | This now sort of respects "Awaiting Endpoint..." waiting. I haven't actually tested out this case since it's hard to get it. However this new code does work with the regular connection flow.
* Fix FFmpegPCMAudio not working with spaces in filename.Rapptz2017-04-181-1/+1
|
* Remove unused imports.Rapptz2017-04-189-31/+10
|
* Properly cleanup of VoiceClients in cache.Rapptz2017-04-182-3/+7
|
* Add Guild.voice_client shortcut.Rapptz2017-04-181-1/+5
|
* Re-implement voice sending.Rapptz2017-04-1811-527/+599
| | | | | | | | | | | | | | | | | | | | This is a complete redesign of the old voice code. A list of major changes is as follows: * The voice websocket will now automatically reconnect with exponential back-off just like the regular Client does. * Removal of the stream player concept. * Audio now gracefully pauses and resumes when a disconnect is found. * Introduce a discord.AudioSource concept to abstract streams * Flatten previous stream player functionality with the VoiceClient, e.g. player.stop() is now voice_client.stop() * With the above re-coupling this means you no longer have to store players anywhere. * The after function now requires a single parameter, the error, if any existed. This will typically be None. A lot of this design is experimental.
* Don't clear state when READY is reached for auto sharded clients.Rapptz2017-04-161-1/+0
|