| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Fix ordering issue with Message.server | Rapptz | 2015-11-18 | 1 | -3/+5 |
| | | |||||
| * | Message.mentions now returns a list of Member instead of User | Rapptz | 2015-11-16 | 1 | -3/+14 |
| | | |||||
| * | Make Message.channel an Object if something goes wrong. | Rapptz | 2015-10-27 | 1 | -3/+8 |
| | | | | | Fixes #21 | ||||
| * | Add Message.server attribute shortcut. | Rapptz | 2015-10-23 | 1 | -0/+4 |
| | | |||||
| * | Documentation fixes for Message. | Rapptz | 2015-10-21 | 1 | -4/+6 |
| | | |||||
| * | Message.author is now either Member or User. | Rapptz | 2015-10-14 | 1 | -4/+15 |
| | | | | | Closes #11. | ||||
| * | Refactor parse_time into its own utils file. | Rapptz | 2015-09-04 | 1 | -10/+3 |
| | | |||||
| * | Use kwargs if the number of arguments needed is too many. | Rapptz | 2015-09-04 | 1 | -13/+13 |
| | | |||||
| * | Python3 import fixes. | Rapptz | 2015-08-28 | 1 | -1/+1 |
| | | |||||
| * | Fix issue with some MESSAGE_UPDATE events.v0.2.1 | Rapptz | 2015-08-24 | 1 | -5/+8 |
| | | |||||
| * | Some documentation warning fixes. | Rapptz | 2015-08-21 | 1 | -1/+1 |
| | | |||||
| * | Change the way timestamps are parsed. | Rapptz | 2015-08-21 | 1 | -4/+7 |
| | | |||||
| * | Initial commit | Rapptz | 2015-08-21 | 1 | -0/+89 |