| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement AutoShardedClient for transparent sharding. | Rapptz | 2017-01-07 | 1 | -3/+77 |
| | | | | | | This allows people to run their >2,500 guild bot in a single process without the headaches of IPC/RPC or much difficulty. | ||||
| * | Fix variable shadowing in READY parsing. | Rapptz | 2017-01-05 | 1 | -4/+3 |
| | | |||||
| * | Move global user cache to a WeakValueDictionary. | Rapptz | 2017-01-04 | 1 | -1/+5 |
| | | |||||
| * | Fix bug that made member roles go missing. | Rapptz | 2017-01-03 | 1 | -13/+3 |
| | | |||||
| * | Make User and Member messageable. | Rapptz | 2017-01-03 | 1 | -0/+5 |
| | | |||||
| * | Move message creation to a factory method inside ConnectionState. | Rapptz | 2017-01-03 | 1 | -20/+21 |
| | | |||||
| * | Move away from StateContext and use ConnectionState directly. | Rapptz | 2017-01-03 | 1 | -23/+17 |
| | | |||||
| * | Add delete_after parameter to MessageChannel.send | Rapptz | 2017-01-03 | 1 | -2/+2 |
| | | |||||
| * | Absolute import some circular dependencies to appease Python 3.4. | Rapptz | 2017-01-03 | 1 | -18/+20 |
| | | |||||
| * | Change dict value views into lists. | Rapptz | 2017-01-03 | 1 | -3/+3 |
| | | |||||
| * | Re-add support for reactions. | Rapptz | 2017-01-03 | 1 | -66/+49 |
| | | | | | | We now store emojis in a global cache and make things like adding and removing reactions part of the stateful Message class. | ||||
| * | Rename try_insert_user to store_user | Rapptz | 2017-01-03 | 1 | -7/+7 |
| | | |||||
| * | Make emojis and members stateful. | Rapptz | 2017-01-03 | 1 | -2/+3 |
| | | |||||
| * | Make roles and guilds stateful. | Rapptz | 2017-01-03 | 1 | -2/+2 |
| | | |||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 1 | -138/+138 |
| | | |||||
| * | Split channel types. | Rapptz | 2017-01-03 | 1 | -18/+22 |
| | | | | | | | | | | | | This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful". | ||||
| * | Switch IDs to use int instead of str | Rapptz | 2017-01-03 | 1 | -41/+38 |
| | | |||||
| * | Optimise VoiceState for memory. | Rapptz | 2017-01-03 | 1 | -12/+13 |
| | | | | | | | Instead of storing one VoiceState per Member, only store them if necessary. This should bring down the number of instances significantly. | ||||
| * | Begin working on the rewrite. | Rapptz | 2017-01-03 | 1 | -54/+39 |
| | | |||||
| * | Chunk every guild if it's a user bot. | Rapptz | 2016-12-24 | 1 | -3/+4 |
| | | | | | | This also increases the timeout for chunking by 30 seconds for every chunk we're waiting for. | ||||
| * | Properly propagate loop. Fixes #420. | Rapptz | 2016-12-21 | 1 | -3/+6 |
| | | |||||
| * | Timeout waiting for chunking. | Rapptz | 2016-12-16 | 1 | -4/+10 |
| | | | | | | | Sometimes the bot would keep waiting for chunks that somehow finished before getting to the `wait` call. This is more so a temporary fix rather than a fully correct one. | ||||
| * | Fix crash on duplicate or out of order reactions. | khazhyk | 2016-11-30 | 1 | -2/+5 |
| | | | | | Eventual consistency ftw | ||||
| * | Support MESSAGE_REACTION_REMOVE_ALL event. | Rapptz | 2016-11-21 | 1 | -0/+7 |
| | | |||||
| * | Fix crash on reaction remove. | khazhyk | 2016-11-05 | 1 | -1/+1 |
| | | | | | | | | | Discord can sometimes send integer 0 as the emoji id instead of null to signify a non-custom emoji, which was causing a crash due to a 'is not None' check assuming the reaction was for an emoji with id 0. Probably a discord bug, but preferable to handle here rather than crash users. | ||||
| * | Change reaction events signature and name. | Rapptz | 2016-11-03 | 1 | -2/+2 |
| | | | | | | | | | | This changes the event signature to be (reaction, user) instead of (message, reaction, user) since the reaction data class already has the message being reacted to as a member. The name was shortened from on_message_reaction_ to on_reaction_ since the message prefix was deemed redundant. | ||||
| * | Inject full Emoji to Reaction if we have it. | khazhyk | 2016-11-03 | 1 | -14/+31 |
| | | | | | | | | Reaction objects with custom Emoji are partial. If we know of this Emoji (can find it on this client) then inject it. Otherwise, leave it as a hollow Emoji. We can still react with a hollow Emoji, but can't get other metadata about it. | ||||
| * | Add support for reactions. | khazhyk | 2016-10-27 | 1 | -0/+55 |
| | | | | | | | | | | | | Reactions can be be standard emojis, or custom server emojis. Adds - add/remove_reaction - get_reaction_users - Messages have new field reactions - new events - message_reaction_add, message_reaction_remove - new permission - add_reactions | ||||
| * | Add custom emoji support. | Khazhismel | 2016-07-31 | 1 | -0/+7 |
| | | |||||
| * | Fix voice state update issue in on_voice_state_update | Rapptz | 2016-07-23 | 1 | -2/+2 |
| | | | | | | | | | | Bug was caused to the shallow copy not copying over the VoiceState information embedded into the copy. This would mean that when the event is called, before and after voice state information is essentially equivalent. The solution to fix this is to also copy the VoiceState objects. | ||||
| * | Fix bug where discriminators would not update in PRESENCE_UPDATE. | Rapptz | 2016-07-21 | 1 | -0/+1 |
| | | |||||
| * | Add utility properties to CallMessage to query information. | Rapptz | 2016-07-15 | 1 | -1/+1 |
| | | |||||
| * | Add support for querying information about group calls. | Rapptz | 2016-07-15 | 1 | -4/+29 |
| | | |||||
| * | Handle adding and removal of group members. | Rapptz | 2016-07-15 | 1 | -1/+16 |
| | | |||||
| * | Handle private channel CHANNEL_CREATE better. | Rapptz | 2016-07-15 | 1 | -2/+2 |
| | | |||||
| * | Add support for different message types and call message. | Rapptz | 2016-07-13 | 1 | -1/+4 |
| | | |||||
| * | Handle CHANNEL_UPDATE for group direct messages. | Rapptz | 2016-07-13 | 1 | -4/+14 |
| | | |||||
| * | Begin working on gateway v6 changes. | Rapptz | 2016-07-13 | 1 | -5/+2 |
| | | | | | | The first batch of changes are related to channel types and group direct messages. Support these first so READY begins parsing. | ||||
| * | Fix voice states being overwritten after a GUILD_SYNC. | Rapptz | 2016-06-28 | 1 | -3/+4 |
| | | | | | | | | | | This was a two-fold problem. The first of which involved the overwriting of members during a GUILD_SYNC. Since we are requesting a chunk anyway, we have all the member references we need without actually chunking. The second problem came from the order. We were doing a GUILD_SYNC and then doing the chunking requests. We should do the GUILD_SYNC after the chunking in order to just update presences. | ||||
| * | Handle MESSAGE_DELETE_BULK. | Rapptz | 2016-06-22 | 1 | -0/+7 |
| | | |||||
| * | Support for v5 Gateway. | Rapptz | 2016-06-22 | 1 | -3/+13 |
| | | |||||
| * | Update positions when a role is added or removed. | Rapptz | 2016-06-01 | 1 | -2/+2 |
| | | |||||
| * | Add Role.server attribute. | Rapptz | 2016-06-01 | 1 | -4/+3 |
| | | | | | This breaks events that expected a server parameter for the role events. | ||||
| * | Update voice client main ws references when reconnecting. | Rapptz | 2016-06-01 | 1 | -0/+4 |
| | | |||||
| * | Add RESUME support. | Rapptz | 2016-06-01 | 1 | -0/+3 |
| | | |||||
| * | Only trigger on_voice_state_update if the member actually exists. | Rapptz | 2016-05-20 | 1 | -2/+3 |
| | | |||||
| * | Fix bug where members leaving will stay in Channel.voice_members. | Rapptz | 2016-05-20 | 1 | -0/+9 |
| | | |||||
| * | Fix issue with Member.joined_at being None. | Rapptz | 2016-05-10 | 1 | -1/+2 |
| | | |||||
| * | Working multi-server voice support. | Rapptz | 2016-05-01 | 1 | -0/+21 |
| | | |||||
| * | Attempt to consistently sort of all Member.roles | Rapptz | 2016-04-29 | 1 | -4/+3 |
| | | |||||