aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow PartialReactionEmoji in add_reaction and remove_reaction.Rapptz2017-07-021-3/+7
|
* Fix Message.remove_reaction and Message.add_reaction taking in ReactionRapptz2017-07-021-4/+6
|
* Actually expose Message.webhook_id.Rapptz2017-06-241-0/+1
|
* Implement "partial" message events.Rapptz2017-06-091-6/+4
| | | | | These are events that get triggered regardless of the state of the message cache. Useful for getting data from before the bot was booted.
* Writing to files is 'wb' not 'rb'.Rapptz2017-05-301-1/+1
|
* Implement an Attachment model.Rapptz2017-05-301-3/+72
|
* Kill remaining references to discord.Channel in documentation.Rapptz2017-05-191-1/+1
|
* First pass at documentation reform.Rapptz2017-05-121-7/+7
|
* Add support for audit log reasons.Rapptz2017-05-071-2/+7
| | | | Most routes now have a 'reason' keyword argument.
* Change some format usage to use %-formatting.Rapptz2017-05-041-4/+4
| | | | | Minor speed increase when we're not doing excessive attribute access or any type of formatting.
* Allow using Reaction objects while adding or removing reactions.Rapptz2017-04-211-6/+10
|
* Support for new member message types.Rapptz2017-04-211-0/+28
|
* Remove unused imports.Rapptz2017-04-181-9/+2
|
* Speed up message update handling.Rapptz2017-03-141-8/+11
| | | | | | Apparently, checking if something is not None and then calling it is faster than having an identity function that will just return the original value untransformed, such as a lambda or doing a str(str) call
* Remove Message.edited_timestamp in favour of Message.edited_atRapptz2017-03-141-5/+8
|
* Add support for message acking.Rapptz2017-02-271-1/+21
|
* Fix bug with Message.role_mentions always being empty.Rapptz2017-02-131-1/+1
|
* Call message edit handlers after attempting to patch individual fieldsRapptz2017-02-091-6/+6
|
* Fix more places where server is used instead of guild in docstrings.Rapptz2017-02-081-2/+2
|
* Remove unused Message._handle_upgrades function.Rapptz2017-01-291-17/+0
|
* Allow removing an embed in Message.editRapptz2017-01-291-5/+20
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Remove _get_guild_id from Messageable ABC.Rapptz2017-01-141-3/+2
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-15/+16
|
* Move away from StateContext and use ConnectionState directly.Rapptz2017-01-031-2/+2
|
* Add useful repr to all data classes.Rapptz2017-01-031-0/+3
|
* Fix handling of author update and missing type attribute in Message.Rapptz2017-01-031-4/+11
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-15/+16
|
* Add Message.clear_reactionsRapptz2017-01-031-0/+18
|
* Re-add support for embeds.Rapptz2017-01-031-2/+6
|
* Make Message.embeds to be based on discord.EmbedRapptz2017-01-031-5/+4
|
* Re-add support for reactions.Rapptz2017-01-031-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_userRapptz2017-01-031-2/+2
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-16/+16
|
* Stateful Message and remove Invite.xkcd since it is removed.Rapptz2017-01-031-1/+86
|
* Split channel types.Rapptz2017-01-031-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 strRapptz2017-01-031-7/+7
|
* Remove Message.timestamp and make Message.channel_mentions lazy.Rapptz2017-01-031-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.Rapptz2017-01-031-25/+26
|
* Inject full Emoji to Reaction if we have it.khazhyk2016-11-031-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.khazhyk2016-10-271-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.Rapptz2016-09-121-11/+15
|
* Add utility properties to CallMessage to query information.Rapptz2016-07-151-1/+1
|
* Fix the displaying of Message.system_contentRapptz2016-07-151-5/+4
|
* Add support for different message types and call message.Rapptz2016-07-131-5/+76
|
* Make Message.channel_mentions unique.Rapptz2016-06-271-4/+2
|
* Add support for message pinning.Rapptz2016-06-181-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.Rapptz2016-05-011-1/+1
|
* Add Message.role_mentions and handle them in Message.clean_contentRapptz2016-04-291-24/+45
|
* Message.clean_content now takes into consideration @here mentions.Rapptz2016-04-231-1/+11
|