aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add delete_after to 'edit'.MysterialPy2017-08-151-1/+21
| | | Allow for edited messages to be deleted after [float] seconds with optional parameter delete_after.
* Message content is Optional in Message.edit.Rapptz2017-07-101-1/+2
|
* 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
|