| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix Emoji.__hash__ being None. | Rapptz | 2019-02-26 | 1 | -2/+4 |
| | | | | | | | When a type defines __eq__, Python removes its __hash__ function. Fixes #1933 | ||||
| * | Bumped copyright years to 2019. | Dante Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Implement PartialEmoji == Emoji (fixes #1627) | Ben Mintz | 2019-01-28 | 1 | -0/+10 |
| | | |||||
| * | Remove outdated note about bot accounts. | MusicOnline | 2018-10-11 | 1 | -2/+0 |
| | | | | | They can now delete all emoji | ||||
| * | Change internal representation of roles in Member and Emoji. | Rapptz | 2018-09-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Introduce a new internal type, SnowflakeList, which has better memory footprint over a regular list or set of roles. It is suspected that there will be a 9x reduction of memory for every Emoji instance and a 48 byte saving per Member instance. However, these savings will probably only be evident on larger bots. As a consequence of this change, Member.roles is now computed lazily. Currently I am not sure if I want to do the initial sorting on the SnowflakeList for Member, as this comes with a O(n log n) cost when creating a Member for little purpose since SnowflakeList.has is not overly relied on. If CPU time becomes an issue this might change. | ||||
| * | Fix up the Sphinx strings causing warnings. | Rapptz | 2018-09-15 | 1 | -2/+2 |
| | | |||||
| * | Removed inaccurate note on emoji.py | Tarek1337 | 2018-09-14 | 1 | -2/+0 |
| | | | | | | | | In the docs, it says ``Note that bot accounts can only edit custom emojis they own.`` But after testing a bit. My bot was able to edit emojis in any guild that had the permissions `manage_roles`. Even if the bot didn't own the guild. Or was the original emoji uploader. And I don't see any mentions of this in the API server or in the documentation. So I'm unsure how this ended up in here. It's possible I am misunderstanding the whole note. My bad if that's the case. | ||||
| * | Fix PartialEmoji._as_reaction() for emojis the bot can't see | Carl Groth | 2018-08-30 | 1 | -1/+1 |
| | | | | | | | | If the bot has access to the emoji, you can pass anything for its name and it will work fine. The name is only required to be correct when adding a reaction where you do not have access to the emoji, all other cases ignore the name. | ||||
| * | [lint] Remove unused imports | Hornwitser | 2018-08-22 | 1 | -1/+0 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | Implement roles kwarg for guild.create_custom_emoji and emoji.edit | PikalaxALT | 2018-08-22 | 1 | -2/+6 |
| | | |||||
| * | Drop support for Python 3.4 and make minimum version 3.5.2. | Rapptz | 2018-06-10 | 1 | -6/+4 |
| | | |||||
| * | Change logic in PartialEmoji.__str__ a little. | Rapptz | 2018-01-06 | 1 | -1/+3 |
| | | |||||
| * | Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter | Gorialis | 2018-01-06 | 1 | -3/+14 |
| | | |||||
| * | Add intersphinx | Tobotimus | 2018-01-06 | 1 | -8/+8 |
| | | |||||
| * | Update Emoji.url to point to the GIF version of the animated emoji. | Rapptz | 2017-12-21 | 1 | -1/+2 |
| | | |||||
| * | Animated emoji support. | Rapptz | 2017-12-21 | 1 | -1/+6 |
| | | |||||
| * | Further clarify how bots can interact with emoji endpoints | Pandentia | 2017-10-03 | 1 | -0/+4 |
| | | | | | | Clarifies that bot accounts can only interact with emoji they have created. | ||||
| * | Remove reference to "whitelisted" bots for emoji endpoints | Pandentia | 2017-10-03 | 1 | -4/+0 |
| | | | | | | | Due to a recent change in the Discord API, bots can now create guild-specific emoji, so I've removed the parts of the documentation referencing this restriction. | ||||
| * | Lazily fetch Emoji.roles and Emoji.guild to prevent memory leaks. | Rapptz | 2017-08-21 | 1 | -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 emojis | Ashton Tito | 2017-08-16 | 1 | -1/+1 |
| | | |||||
| * | Allow PartialReactionEmoji in add_reaction and remove_reaction. | Rapptz | 2017-07-02 | 1 | -0/+5 |
| | | |||||
| * | Implement "partial" message events. | Rapptz | 2017-06-09 | 1 | -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. | Rapptz | 2017-05-20 | 1 | -11/+13 |
| | | |||||
| * | Use describe instead of tables for supported operations. | Rapptz | 2017-05-13 | 1 | -18/+20 |
| | | |||||
| * | First pass at documentation reform. | Rapptz | 2017-05-12 | 1 | -2/+2 |
| | | |||||
| * | Add support for audit log reasons. | Rapptz | 2017-05-07 | 1 | -4/+11 |
| | | | | | Most routes now have a 'reason' keyword argument. | ||||
| * | Keep track of Emoji instances myself. | Rapptz | 2017-03-29 | 1 | -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. | Rapptz | 2017-03-24 | 1 | -1/+1 |
| | | |||||
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Move message creation to a factory method inside ConnectionState. | Rapptz | 2017-01-03 | 1 | -2/+2 |
| | | |||||
| * | Add useful repr to all data classes. | Rapptz | 2017-01-03 | 1 | -0/+3 |
| | | |||||
| * | Absolute import some circular dependencies to appease Python 3.4. | Rapptz | 2017-01-03 | 1 | -2/+2 |
| | | |||||
| * | Re-add support for reactions. | Rapptz | 2017-01-03 | 1 | -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. | Rapptz | 2017-01-03 | 1 | -0/+50 |
| | | |||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 1 | -6/+6 |
| | | |||||
| * | Switch IDs to use int instead of str | Rapptz | 2017-01-03 | 1 | -10/+10 |
| | | |||||
| * | Begin working on the rewrite. | Rapptz | 2017-01-03 | 1 | -7/+9 |
| | | |||||
| * | Emoji.url uses api url. | Khazhismel | 2016-08-06 | 1 | -1/+1 |
| | | |||||
| * | Add emoji url property | Khazhismel | 2016-08-02 | 1 | -0/+5 |
| | | |||||
| * | Clean up Emoji documentation. | Khazhismel | 2016-08-01 | 1 | -2/+0 |
| | | |||||
| * | Add custom emoji support. | Khazhismel | 2016-07-31 | 1 | -0/+104 |