aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add support for <:name:id> format for adding reactionsVexs2019-04-171-1/+3
| | | | Adjust FAQ to match.
* Internal consistency with message related HTTPClient methodsRapptz2019-04-141-5/+5
|
* Missing a word in Attachment.saveRapptz2019-04-081-2/+2
|
* Add note about escape_markdown in Message.clean_contentRapptz2019-04-061-0/+6
| | | | Fix #1911
* Fix Attachment.save wording nit.Rapptz2019-04-061-3/+4
|
* Redesign asset retrieval in the library.NCPlayz2019-04-061-1/+1
| | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997
* Organise documentationNCPlayz2019-03-191-5/+5
|
* Support path-like objects in Attachment.save.Rapptz2019-03-131-5/+6
| | | | Fix #1958
* Expose Embed.from_data as Embed.from_dictRapptz2019-03-131-1/+1
| | | | This is a breaking change.
* Revert default parameter use_cached of Attachment.save back to False.Rapptz2019-03-101-1/+1
| | | | Fix #1973
* Have use_cached=True by default for Attachment.save.Rapptz2019-03-061-8/+8
| | | | Also touch up the documentation a bit.
* Added cached saving for attachmentsMaku2019-03-061-3/+9
| | | | Updated docstring
* Update Member.joined_at on MESSAGE_CREATE and document it can be None.Rapptz2019-02-271-1/+16
| | | | Fixes #1638
* Manually calculate millisceond epoch rather than bitshiftingslice2019-02-151-4/+6
| | | | Implementation by Danny.
* Fix system_content returning incorrect join messagesslice2019-02-151-4/+6
|
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* Add support for spoiler attachments.Rapptz2018-12-141-0/+4
|
* Update Message.mention_everyone docs to include @hereLaurenz2018-12-141-3/+3
|
* [lint] Limit unneccessarily broad except clausesHornwitser2018-11-241-2/+2
| | | | Add exception qualifier(s) to bare except clauses swallowing exceptions.
* Change internal role storage in Guild to a dict instead of a list.Rapptz2018-09-241-1/+1
| | | | | | | | | | | | | | | | This adds the following APIs: * Guild.get_role This removes the following APIs: * Guild.role_hierarchy To compensate for the removed APIs, Guild.roles is now a sorted list based on hierarchy. The first element will always be the @everyone role. This speeds up access at the cost of some memory, theoretically.
* Change docstrings to raw-stringsBeatButton2018-09-141-2/+2
|
* Fix behavior of reaction type-conversionBryan Forbes2018-08-251-1/+2
|
* [lint] Fix incorrect and inconsistent whitespaceHornwitser2018-08-221-7/+7
| | | | Adjust whitespace to be consistent with the rest of the library.
* [lint] Remove unnecessary lambdasHornwitser2018-08-221-1/+1
| | | | Lambdas of the form `lambda x: func(x)` are redundant.
* [lint] Remove unused importsHornwitser2018-08-221-1/+1
| | | | Left over from various refactoring and rewrites.
* Update Message.author doctringDunkledore2018-08-221-1/+1
|
* message: de-duplicate reaction type conversionbmintz2018-07-311-23/+15
| | | | | | Removes some duplicate code in Message.{add,remove}_reaction. The code in question converts the emoji object from Reaction, Emoji, str, or PartialEmoji to a string form suitable for sending over the wire.
* Change jump_to_url to jump_url and fix format.Rapptz2018-06-291-2/+2
| | | | People kept asking, might as well.
* Remove dead package references.Rapptz2018-06-101-1/+1
|
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-101-30/+21
|
* Add Message.jump_to_urlRapptz2018-06-101-0/+6
|
* Fixes various documentation errors/inconsistenciesSteve C2018-05-181-8/+12
| | | | Mostly dealing with permissions, also fixes Raw Events inclusion.
* Filter null mentions when creating a Message.Rapptz2018-04-201-1/+1
|
* Split Game object to separate Activity subtypes for Rich Presences.Rapptz2018-03-051-1/+24
| | | | | | | | | | | This is a massive breaking change. * All references to "game" have been renamed to "activity" * Activity objects contain a majority of the rich presence information * Game and Streaming are subtypes for memory optimisation purposes for the more common cases. * Introduce a more specialised read-only type, Spotify, for the official Spotify integration to make it easier to use.
* Add seek_begin keyword argument to Attachment.saveRapptz2018-02-131-2/+8
|
* Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverterGorialis2018-01-061-5/+5
|
* Add intersphinxTobotimus2018-01-061-16/+16
|
* Added a missing "to" in Message.raw_mentions documentation.Chkoupinator2018-01-061-1/+1
|
* Fix typo in Message.embeds documentation.CloudNineK2018-01-061-1/+1
|
* Use the proper endpoint for removing your own reaction.Rapptz2017-12-211-1/+4
|
* Update system_content strings for MessageType.new_member.Rapptz2017-08-171-22/+40
|
* Remove reason keyword argument from message deletion.Rapptz2017-08-151-7/+2
| | | | | | | | | | | Apparently this is unsupported. Affected functions include: * abc.Messageable.send * Message.delete * TextChannel.delete_messages * TextChannel.purge