| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Fix lack of space in when_mentioned | Rapptz | 2017-04-24 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add Context.voice_client shortcut. | Rapptz | 2017-04-24 | 1 | -0/+6 |
| | | |||||
| * | [commands] Make when_mentioned always have both mention formats. | Rapptz | 2017-04-24 | 1 | -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. | Rapptz | 2017-04-22 | 1 | -0/+1 |
| | | |||||
| * | Fix some linting errors. | Rapptz | 2017-04-22 | 2 | -5/+2 |
| | | |||||
| * | Fix NameError in Role.edit when moving roles. | Rapptz | 2017-04-22 | 1 | -0/+1 |
| | | |||||
| * | Fix NameError in GuildChannel.changed_roles | Rapptz | 2017-04-22 | 1 | -0/+1 |
| | | |||||
| * | Timeout when doing initial connection. | Rapptz | 2017-04-22 | 3 | -16/+25 |
| | | |||||
| * | [commands] Allow loading cogs from folders. | Rapptz | 2017-04-21 | 2 | -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. | Rapptz | 2017-04-21 | 1 | -6/+10 |
| | | |||||
| * | Support for new member message types. | Rapptz | 2017-04-21 | 2 | -0/+29 |
| | | |||||
| * | Allow setting a default volume in PCMVolumeTransformer. | Rapptz | 2017-04-19 | 1 | -2/+5 |
| | | |||||
| * | Add PCMVolumeTransformer to augment volume of a PCM stream. | Rapptz | 2017-04-19 | 3 | -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. | Rapptz | 2017-04-19 | 2 | -0/+7 |
| | | |||||
| * | Add VoiceClient.source to get the AudioSource being played. | Rapptz | 2017-04-19 | 1 | -0/+5 |
| | | |||||
| * | Fix static cut-off when playing. | Rapptz | 2017-04-18 | 1 | -2/+8 |
| | | |||||
| * | Clean cache when TimeoutError occurs. | Rapptz | 2017-04-18 | 1 | -1/+1 |
| | | |||||
| * | Better handling of VOICE_SERVER_UPDATE. | Rapptz | 2017-04-18 | 3 | -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. | Rapptz | 2017-04-18 | 1 | -1/+1 |
| | | |||||
| * | Remove unused imports. | Rapptz | 2017-04-18 | 9 | -31/+10 |
| | | |||||
| * | Properly cleanup of VoiceClients in cache. | Rapptz | 2017-04-18 | 2 | -3/+7 |
| | | |||||
| * | Add Guild.voice_client shortcut. | Rapptz | 2017-04-18 | 1 | -1/+5 |
| | | |||||
| * | Re-implement voice sending. | Rapptz | 2017-04-18 | 11 | -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. | Rapptz | 2017-04-16 | 1 | -1/+0 |
| | | |||||
| * | Support for API v7 error handling. | Rapptz | 2017-04-15 | 2 | -7/+37 |
| | | |||||
| * | Start typing immediately when using async typing context manager. | Rapptz | 2017-04-12 | 1 | -6/+17 |
| | | |||||
| * | Export missing enums. | Rapptz | 2017-04-12 | 2 | -1/+4 |
| | | |||||
| * | Add Guild.explicit_content_filter. | Rapptz | 2017-04-12 | 3 | -2/+30 |
| | | |||||
| * | Use create_future wrapper for initially created Future. | Rapptz | 2017-04-12 | 1 | -1/+1 |
| | | |||||
| * | Improve logging in more places. | Rapptz | 2017-04-12 | 3 | -14/+21 |
| | | | | | | | This shows the Shard ID in more places, along with a gateway trace and session ID. Also helps show the RESUME/IDENTIFY/RESUMED/READY flow a bit more instead of it looking like the connection has zombied out. | ||||
| * | [commands] Bot.get_all_emojis no longer exists. | Rapptz | 2017-04-12 | 1 | -2/+2 |
| | | |||||
| * | [commands] Export missing built-in converters. | Rapptz | 2017-04-12 | 1 | -1/+1 |
| | | |||||
| * | Use global user cache to fetch reaction event data. | Rapptz | 2017-04-09 | 1 | -9/+6 |
| | | | | | | Also make sure it isn't dispatched unless the data meets the integrity checks (i.e. not None). | ||||
| * | Fix view_audit_log incorrect pluralisation. | Rapptz | 2017-04-08 | 1 | -1/+1 |
| | | |||||
| * | Fix File not using the filename if given | FrostLuma | 2017-04-08 | 1 | -0/+2 |
| | | |||||
| * | Add support for multiple file attachments. | Rapptz | 2017-04-08 | 5 | -31/+122 |
| | | | | | | | | This is a breaking change. No longer does Messageable.send have a filename keyword argument, instead this is all handled through the discord.File model. To upload many files you must specify a list of discord.File objects. | ||||
| * | Proper recursion when launching shards. | Rapptz | 2017-04-07 | 1 | -1/+1 |
| | | |||||
| * | Fix KeyError in certain logging cases. | Rapptz | 2017-04-07 | 1 | -2/+2 |
| | | |||||
| * | Use an asyncio.Event instead of an asyncio.Lock for global rate limits. | Rapptz | 2017-04-01 | 1 | -6/+8 |
| | | | | | | | | There were some dead-locking issues that I suspect were due to the way the global rate limit was handled. This changes it into a simple Event that allows multiple coroutines to pass through instead of one by one. | ||||
| * | Proper termination of HistoryIterator.flatten. | Rapptz | 2017-03-30 | 1 | -1/+1 |
| | | |||||
| * | Keep track of Emoji instances myself. | Rapptz | 2017-03-29 | 2 | -3/+9 |
| | | | | | | | WeakValueDictionary cleans up too late and brings too little benefit. Also clean up the state when the first READY is encountered for AutoShardedClient and when any READY is encountered in regular Client. | ||||
| * | [commands] Fix User converter not working with IDs. | Rapptz | 2017-03-27 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add is_owner check and Bot.is_owner. | Rapptz | 2017-03-27 | 3 | -2/+49 |
| | | |||||
| * | [commands] Remove Command.no_pm for commands.guild_only check. | Rapptz | 2017-03-26 | 2 | -15/+22 |
| | | | | | | | | This is a breaking change. The original purpose of no_pm has been mainly a legacy aspect. They came from a time before checks were a generalised concept and were never removed. A check is the proper way to do its behaviour. | ||||
| * | Always overwrite Emoji references in the state. | Rapptz | 2017-03-26 | 1 | -5/+2 |
| | | | | | | | | | | There is potential that when recreating the Emoji list in the GUILD_EMOJIS_UPDATE event would just fetch from cache and the element in cache having an out of date Guild reference. This Guild reference will be kept alive for longer than it should be. By always overwriting the Emoji reference, this problem goes away. | ||||
| * | Remove unnecessary shielding. | Rapptz | 2017-03-25 | 1 | -1/+1 |
| | | | | | | This was causing the exception to be suppressed and print 'NoneType' instead. | ||||
| * | Make Role.members use a list comprehension. | Rapptz | 2017-03-25 | 1 | -5/+1 |
| | | |||||
| * | Allow Emoji to be used in a weakref. | Rapptz | 2017-03-24 | 1 | -1/+1 |
| | | |||||
| * | Fix memory leak by holding on to Emoji references weakly. | Rapptz | 2017-03-24 | 1 | -1/+1 |
| | | | | | | | | The library had a memory leak in the case using the global emoji cache. When the bot would leave the guild, the Emoji would maintain a strong reference to the Guild keeping them alive along with the entire state associated with it. | ||||
| * | Revert "Reference the ConnectionState by weakref." | Rapptz | 2017-03-24 | 1 | -19/+19 |
| | | | | | This reverts commit 730a0e2d5375a5c49bcc2a146f0cde1e7dc85f24. | ||||