aboutsummaryrefslogtreecommitdiff
path: root/discord/emoji.py
Commit message (Collapse)AuthorAgeFilesLines
* Lazily fetch Emoji.roles and Emoji.guild to prevent memory leaks.Rapptz2017-08-211-11/+21
| | | | | | | The global emoji cache still managed to somehow cause memory leaks. By storing IDs directly and lazily evaluating them when needed this essentially removes all strong references to Guild objects which would cause an explosion in memory usage.
* use cdn url for custom emojisAshton Tito2017-08-161-1/+1
|
* Allow PartialReactionEmoji in add_reaction and remove_reaction.Rapptz2017-07-021-0/+5
|
* Implement "partial" message events.Rapptz2017-06-091-1/+49
| | | | | These are events that get triggered regardless of the state of the message cache. Useful for getting data from before the bot was booted.
* Make supported operations stand out more than attributes.Rapptz2017-05-201-11/+13
|
* Use describe instead of tables for supported operations.Rapptz2017-05-131-18/+20
|
* First pass at documentation reform.Rapptz2017-05-121-2/+2
|
* Add support for audit log reasons.Rapptz2017-05-071-4/+11
| | | | Most routes now have a 'reason' keyword argument.
* Keep track of Emoji instances myself.Rapptz2017-03-291-1/+1
| | | | | | 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.
* Allow Emoji to be used in a weakref.Rapptz2017-03-241-1/+1
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-2/+2
|
* Add useful repr to all data classes.Rapptz2017-01-031-0/+3
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-2/+2
|
* Re-add support for reactions.Rapptz2017-01-031-0/+3
| | | | | We now store emojis in a global cache and make things like adding and removing reactions part of the stateful Message class.
* Make emojis and members stateful.Rapptz2017-01-031-0/+50
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-6/+6
|
* Switch IDs to use int instead of strRapptz2017-01-031-10/+10
|
* Begin working on the rewrite.Rapptz2017-01-031-7/+9
|
* Emoji.url uses api url.Khazhismel2016-08-061-1/+1
|
* Add emoji url propertyKhazhismel2016-08-021-0/+5
|
* Clean up Emoji documentation.Khazhismel2016-08-011-2/+0
|
* Add custom emoji support.Khazhismel2016-07-311-0/+104