aboutsummaryrefslogtreecommitdiff
path: root/discord/embeds.py
Commit message (Collapse)AuthorAgeFilesLines
* Organise documentationNCPlayz2019-03-191-15/+15
|
* Fix NameError in Embed.to_dictRapptz2019-03-171-1/+1
|
* Fix embed to_dict timestamp handling for python 3.5Michael H2019-03-171-1/+4
| | | | resolves #1992
* Fix Embed.to_dict to work with TZ aware datetime objects.Rapptz2019-03-151-1/+1
|
* Add Embed.copy to do a copy on an embed object.Rapptz2019-03-131-0/+4
|
* Add Embed.__len__ to query total character size of an embed.Rapptz2019-03-131-0/+31
|
* Expose Embed.from_data as Embed.from_dictRapptz2019-03-131-1/+15
| | | | This is a breaking change.
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* [lint] Fix incorrect and inconsistent whitespaceHornwitser2018-08-221-1/+1
| | | | Adjust whitespace to be consistent with the rest of the library.
* Add intersphinxTobotimus2018-01-061-9/+9
|
* Update embed property doc grammarSteve C2017-08-291-6/+6
|
* Simplify embed timestamp code due to it being fixed Discord side.Rapptz2017-07-091-8/+1
| | | | See https://github.com/hammerandchisel/discord-api-docs/issues/291
* Make checking for truth-ness of EmbedProxy easier.Rapptz2017-06-161-0/+3
|
* Handle aware datetimes in embeds.Rapptz2017-03-131-2/+9
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Add missing fields to Embed.from_data()Ian Salmons2017-01-081-1/+1
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-3/+2
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-2/+3
|
* Make discord.Embed builder more strict and easier to use.Rapptz2016-11-221-70/+147
| | | | | | | | | | | | | | | | Allow for easier use when trying to "reuse" the same discord.Embed object by providing new methods such as Embed.clear_fields, Embed.set_field_at, and allowing you to set things to Embed.Empty to clear out an attribute. For ease of use, things are automatically casted to ``str`` to prevent the user from having HTTP 400 errors if they forgot to do so. The new embed builder also supports "fluent-style" interface to allow you to chain methods in a single line if necessary. Certain parameters were removed since they were ignored by Discord anyway such as `width` and `height` in Embed.set_image and Embed.set_thumbnail.
* Add support for rich embeds.Rapptz2016-11-131-0/+398