aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
Commit message (Collapse)AuthorAgeFilesLines
* Use Hashable mixin for MessagePythonCoderAS2020-10-161-4/+2
|
* Fix and add documentationMichael2020-09-231-1/+1
|
* Add support for message_reference on Message objectSebastian Law2020-09-231-1/+42
|
* Completely update member references from message inner members.Rapptz2020-09-171-2/+1
| | | | Fixes #5819
* Added __eq__ to MessageAndres Torres2020-09-041-0/+3
|
* Fixed a typo in message unpinning docsELginas2020-08-051-1/+1
|
* Update message references in AutoShardedConnectionStateRapptz2020-07-251-0/+8
| | | | Fixes #5133
* Allow more methods to set an audit log reasonNadir Chowdhury2020-06-301-4/+18
|
* Fix various inconsistencies within the documentation (#5067)Sebastian Law2020-06-281-1/+1
|
* Update Message.system_content join strings to be up to date.Rapptz2020-06-271-37/+11
| | | | Fixes #4211
* Add spoiler keyword argument to Attachment.to_fileZomatree2020-05-231-2/+6
|
* Prepare for the discord.com domain renameRapptz2020-05-231-1/+1
|
* add support for allowed_mentions with message editStarrFox2020-05-101-0/+16
|
* Make use_cached keyword onlyRapptz2020-05-031-2/+2
|
* Add versionadded to Attachment.to_file use_cached paramJosh2020-05-021-0/+2
|
* Edit message publish documentationKowlin2020-04-141-5/+2
|
* Add use_cached to Attachment.to_fileMaku2020-04-041-2/+12
|
* Fix crashes when Message.guild is ObjectRapptz2020-02-161-2/+2
|
* Explicitly check for guild objectMerlintor2020-01-261-1/+2
|
* Fixes and improvements for v1.3 documentationHarmon2020-01-221-0/+6
| | | | | | | | | * Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog
* Drop superfluous zero in version related changes in the documentationRapptz2020-01-211-3/+3
|
* Update attachment documentation for width/height applying to videos tooRapptz2020-01-201-2/+2
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Document NotFound exception raise in message deletion endpointsRapptz2020-01-181-0/+2
|
* Add support for clearing a specific reaction.Rapptz2020-01-171-0/+43
| | | | Closes #2440
* Add Attachment.to_file to easily send an attachment.Rapptz2020-01-031-0/+27
| | | | | | | | | | | | | | | The first thing someone will ask when someone sees this method is "Why doesn't `send` just accept `Attachment`?". This question is fair but it has an issue: exception propagation becomes confusing. When we save a file and write it to memory an HTTP request is sent similar to other API calls. Like all HTTP requests, these can fail. Since these requests denote failure using HTTPException, if it were to originate within `send` then it becomes confusing to know whether the attachment saving itself failed or whether the sending failed. For that reason, and to keep in-line with only 1 type of HTTP call per method, it doesn't make sense for `send` to support `Attachment`.
* Remove unnecessary pass using regex in Message.clean_contentRapptz2019-12-251-12/+1
| | | | The utils.escape_mentions should deal with it
* Use discord.utils.escape_mentions as last step ofMichael H2019-12-251-1/+4
| | | | discord.Message.clean_content
* Implement discord.MessageFlagsNCPlayz2019-12-201-4/+34
| | | | Refactor flags placement and use it for suppression.
* Document the exception-suppressing behaviour of Message.deleteIo Mintz2019-12-171-1/+1
| | | | | This is already documented for Messageable.send's delete_after kwarg. PR #2481
* Fix all deprecation warnings for 3.8Rapptz2019-11-201-1/+1
|
* Move PartialEmoji over to a new namespace to avoid circular importsRapptz2019-11-201-1/+2
|
* Fix broken versionadded in Message.is_system()Steve C2019-09-101-1/+1
|
* Add Message.is_system to more intuitively filter system messages.Rapptz2019-08-271-0/+7
|
* Add CHANNEL_FOLLOW_ADD Message TypeDice2019-08-271-0/+3
| | | | | | | | Add documentation for MessageType.channel_follow_add Add versionchanged to new MessageType attr Add system_content for new MessageType
* Add upgraded Member to Message.mentions in case of no cache.Rapptz2019-07-101-5/+9
|
* Different method of upgrading user instancesRapptz2019-07-101-0/+3
|
* Fix regression where Message.edited_at would not update during editsRapptz2019-07-051-0/+3
|
* Add support for suppressing embeds.Rapptz2019-06-291-6/+19
|
* Improve performance of parsing MESSAGE_UPDATE and MESSAGE_CREATE eventsRapptz2019-06-071-21/+67
| | | | | | | | Embed edits are no longer special cased in the dispatch code, which could lead to on_message_edit being called more often than it used to be called. I am not sure on the general impact on that being removed. Fixes #2195
* Improve documentationNCPlayz2019-06-071-16/+14
|
* Add support for new message types related to premium guilds.Rapptz2019-06-041-0/+12
|
* Make __repr__ slightly more detailed and add a few missing ones.Rapptz2019-05-261-1/+4
| | | | | | This includes raw events (which didn't have any) and a few other types that were missing them. Upon review some more useful fields were added to the repr output which would be more useful during debugging.
* Add note for Message.ttsRapptz2019-05-251-0/+2
| | | | Fix #2186
* Fix pluralization errors in various filesEhren Julien-Neitzert2019-05-231-2/+2
| | | | | * Replaced instances of 'return an' with 'returns an' * fixed pluralization errors
* Proper location of versionaddedRapptz2019-04-291-2/+2
|
* Add read method to attachment objectsVexs2019-04-291-2/+37
| | | | Refactor save to use new read method
* Make Message.ack an actual coroutine function.Rapptz2019-04-201-2/+2
|
* Add versionchanged to Message.deleteRapptz2019-04-181-0/+3
|
* Add delay kwarg to message.delete()Vexs2019-04-181-10/+19
| | | | Refactor delete_after kwargs to use new delay kwarg