| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Remove _get_guild_id from Messageable ABC. | Rapptz | 2017-01-14 | 1 | -3/+2 |
| | | |||||
| * | Move message creation to a factory method inside ConnectionState. | Rapptz | 2017-01-03 | 1 | -15/+16 |
| | | |||||
| * | Move away from StateContext and use ConnectionState directly. | Rapptz | 2017-01-03 | 1 | -2/+2 |
| | | |||||
| * | Add useful repr to all data classes. | Rapptz | 2017-01-03 | 1 | -0/+3 |
| | | |||||
| * | Fix handling of author update and missing type attribute in Message. | Rapptz | 2017-01-03 | 1 | -4/+11 |
| | | |||||
| * | Absolute import some circular dependencies to appease Python 3.4. | Rapptz | 2017-01-03 | 1 | -15/+16 |
| | | |||||
| * | Add Message.clear_reactions | Rapptz | 2017-01-03 | 1 | -0/+18 |
| | | |||||
| * | Re-add support for embeds. | Rapptz | 2017-01-03 | 1 | -2/+6 |
| | | |||||
| * | Make Message.embeds to be based on discord.Embed | Rapptz | 2017-01-03 | 1 | -5/+4 |
| | | |||||
| * | Re-add support for reactions. | Rapptz | 2017-01-03 | 1 | -6/+124 |
| | | | | | | 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 | -2/+2 |
| | | |||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 1 | -16/+16 |
| | | |||||
| * | Stateful Message and remove Invite.xkcd since it is removed. | Rapptz | 2017-01-03 | 1 | -1/+86 |
| | | |||||
| * | Split channel types. | Rapptz | 2017-01-03 | 1 | -2/+2 |
| | | | | | | | | | | | | 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 | -7/+7 |
| | | |||||
| * | Remove Message.timestamp and make Message.channel_mentions lazy. | Rapptz | 2017-01-03 | 1 | -46/+60 |
| | | | | | | | Message.timestamp is replaced with Message.created_at. This commit also affects how MESSAGE_UPDATE is handled by only assuming that two keys are provided rather than overwriting data with missing keys. | ||||
| * | Begin working on the rewrite. | Rapptz | 2017-01-03 | 1 | -25/+26 |
| | | |||||
| * | Inject full Emoji to Reaction if we have it. | khazhyk | 2016-11-03 | 1 | -1/+3 |
| | | | | | | | | 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 | -1/+5 |
| | | | | | | | | | | | | 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 | ||||
| * | Support for pinned system messages. | Rapptz | 2016-09-12 | 1 | -11/+15 |
| | | |||||
| * | Add utility properties to CallMessage to query information. | Rapptz | 2016-07-15 | 1 | -1/+1 |
| | | |||||
| * | Fix the displaying of Message.system_content | Rapptz | 2016-07-15 | 1 | -5/+4 |
| | | |||||
| * | Add support for different message types and call message. | Rapptz | 2016-07-13 | 1 | -5/+76 |
| | | |||||
| * | Make Message.channel_mentions unique. | Rapptz | 2016-06-27 | 1 | -4/+2 |
| | | |||||
| * | Add support for message pinning. | Rapptz | 2016-06-18 | 1 | -2/+5 |
| | | | | | | | This includes `Client.pin_message`, `Client.unpin_message` and `Client.pins_from`. This also adds the `Message.pinned` attribute to the `Message` object. | ||||
| * | Fix typo in Message.role_mentions documentation. | Rapptz | 2016-05-01 | 1 | -1/+1 |
| | | |||||
| * | Add Message.role_mentions and handle them in Message.clean_content | Rapptz | 2016-04-29 | 1 | -24/+45 |
| | | |||||
| * | Message.clean_content now takes into consideration @here mentions. | Rapptz | 2016-04-23 | 1 | -1/+11 |
| | | |||||
| * | Guard against AttributeErrors when clearing cached slot cache. | Rapptz | 2016-04-05 | 1 | -3/+14 |
| | | |||||
| * | Make Message.clean_content a cached property again. | Rapptz | 2016-04-05 | 1 | -3/+8 |
| | | | | | | Instead, clear the cached properties so they will be re-cached when invoked again. | ||||
| * | Fix handling of message update in MESSAGE_UPDATE | Zeta | 2016-04-05 | 1 | -16/+19 |
| | | |||||
| * | Fix bug where @everyone usernames bypass Message.clean_content. | Rapptz | 2016-03-02 | 1 | -2/+2 |
| | | |||||
| * | Message.clean_content now handles everyone mentions properly. | Rapptz | 2016-01-30 | 1 | -0/+3 |
| | | |||||
| * | performance improvements | Steven Berler | 2016-01-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | Replaced server member lists, channel lists, and private channel lists with dicts. This allows O(1) lookups and removes (previously it would be an O(N) operation to lookup or remove). I did pretty extensive testing and benchmarking to compare the performance of using lists vs using dicts. Iterating through lists to find an item is only faster in the average case for extremely small lists (less than 3 items). For 100 items, using a dict is about 10 times faster on average (and about 100 times faster for 1000 items). The overhead in dicts is in memory usage and initial creation time. Creating and populating a dict is about 2 to 3 times slower than creating and appending items to a list. However this cost is still tiny. For 1000 items this equates to about a 70 microsecond difference (on an i7 CPU) for populating the entire dict. The memory overhead for a dict (compared to a list) is about 25-60 KB per 1000 items (can vary depending on dict resizing). Originally I wanted to use OrderedDicts to presereve order, but in my testing OrderedDicts have about 6x the memory overhead compared to normal dicts. | ||||
| * | Add Message.nonce attribute. | Rapptz | 2016-01-07 | 1 | -2/+5 |
| | | |||||
| * | Add __slots__ for missing classes that didn't have it. | Rapptz | 2016-01-06 | 1 | -3/+8 |
| | | |||||
| * | Update license of files to 2016. | Rapptz | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | Message no longer upgrades if the channel is an Object | Rapptz | 2015-12-29 | 1 | -0/+3 |
| | | |||||
| * | Add __slots__ where appropriate to data classes. | Rapptz | 2015-12-19 | 1 | -1/+1 |
| | | |||||
| * | Add Message.clean_content property to get prettified mentions. | Rapptz | 2015-12-17 | 1 | -0/+26 |
| | | |||||
| * | Change regex from \d+ to [0-9]+ for performance reasons. | Rapptz | 2015-12-16 | 1 | -2/+2 |
| | | | | | \d+ includes unicode characters while [0-9]+ doesn't. | ||||
| * | Clean-up documentation to use NumPy style docs on remaining classes. | Rapptz | 2015-12-16 | 1 | -37/+25 |
| | | |||||
| * | Make more things into properties. | Rapptz | 2015-12-16 | 1 | -11/+9 |
| | | | | | | | A lot of the expensive getters were transformed into cached properties instead. A lot of things that were properties were transformed into properties as well. | ||||
| * | Message.channel's Object instance has an is_private attribute now. | Rapptz | 2015-11-28 | 1 | -1/+4 |
| | | | | | | | | | This was to allow for basic checks such as message.channel.is_private to succeed at the very least. It is a very small mitigation and not perfect since it doesn't have every attribute that PrivateChannel itself has. However you could retrieve the user info through the Message.author attribute. | ||||
| * | Add caveat note about Message.mention_everyone | Rapptz | 2015-11-28 | 1 | -0/+7 |
| | | |||||
| * | Add warning for Message.mentions order being non-deterministic. | Rapptz | 2015-11-28 | 1 | -0/+6 |
| | | |||||
| * | Add Message.channel_mentions | Rapptz | 2015-11-19 | 1 | -0/+12 |
| | | |||||
| * | Add get_raw_[channel_]mentions to Message | Rapptz | 2015-11-19 | 1 | -0/+19 |
| | | |||||
| * | Fix is_private check in mentions array handling. | Rapptz | 2015-11-19 | 1 | -1/+4 |
| | | |||||