| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix Embed.from_dict typing being too strict for a public function | Rapptz | 2021-08-24 | 1 | -2/+2 |
| | | | | | | The Embed TypedDict is not publicly accessible so would always lead to type errors upon usage. | ||||
| * | Localize Embed.timestamp during assignment | thegamecracks | 2021-06-28 | 1 | -3/+5 |
| | | |||||
| * | Add Embed.remove_footer | Arnav Jindal | 2021-06-07 | 1 | -0/+15 |
| | | |||||
| * | Fix bug in Embed.__len__ caused by footer without text | Mikey | 2021-05-27 | 1 | -3/+3 |
| | | |||||
| * | [docs] Fix various unresolved references | Nadir Chowdhury | 2021-04-15 | 1 | -1/+1 |
| | | |||||
| * | Use Any instead of str for Embed typings for accuracy | Rapptz | 2021-04-08 | 1 | -10/+10 |
| | | |||||
| * | [docs] add note for possible Embed.type strings | Sebastian Law | 2021-04-07 | 1 | -0/+2 |
| | | |||||
| * | Rename discord.types file based on relevant core module file | Rapptz | 2021-04-07 | 1 | -1/+1 |
| | | |||||
| * | Typehint discord.Embed and introduce discord.types subpackage | Rapptz | 2021-04-07 | 1 | -92/+155 |
| | | | | | | | | | The discord.types subpackage is currently only used to do type hinting of API payloads, it's very much incomplete right now and it'll be a rather long process. discord.Embed was typehinted and formatted using black. | ||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 1 | -0/+4 |
| | | |||||
| * | Add Embed.__bool__ | Rapptz | 2021-04-07 | 1 | -0/+22 |
| | | | | | Fixes #6661 | ||||
| * | Convert datetimes to aware datetimes with UTC. | Rapptz | 2021-04-04 | 1 | -1/+5 |
| | | | | | | Naive datetimes will now be interpreted as local time throughout the library. | ||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -5/+4 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | Implicitly cast Embed construction parameters to str | pikaninja | 2021-03-24 | 1 | -0/+18 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Fix error when trying to clear empty image/thumbnail in embeds | Dan Hess | 2020-08-07 | 1 | -2/+8 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -7/+7 |
| | | |||||
| * | Allow clearing the author information in embeds. | jack1142 | 2020-05-23 | 1 | -0/+15 |
| | | |||||
| * | Prepare for the discord.com domain rename | Rapptz | 2020-05-23 | 1 | -1/+1 |
| | | |||||
| * | allow passing EmptyEmbed to set_image and set_thumbnail | Riley Shaw | 2020-05-02 | 1 | -6/+18 |
| | | |||||
| * | Drop superfluous zero in version related changes in the documentation | Rapptz | 2020-01-21 | 1 | -1/+1 |
| | | |||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -5/+5 |
| | | | | | Closes #2510 | ||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -3/+2 |
| | | |||||
| * | Grammar fixes for notes on EmbedProxy | Dante Dam | 2019-05-23 | 1 | -3/+3 |
| | | |||||
| * | Add an insert_field_at method for the embed class | Kyber | 2019-05-23 | 1 | -0/+33 |
| | | |||||
| * | Mention what can be done during initialisation in embeds. | Rapptz | 2019-05-07 | 1 | -3/+6 |
| | | |||||
| * | Organise documentation | NCPlayz | 2019-03-19 | 1 | -15/+15 |
| | | |||||
| * | Fix NameError in Embed.to_dict | Rapptz | 2019-03-17 | 1 | -1/+1 |
| | | |||||
| * | Fix embed to_dict timestamp handling for python 3.5 | Michael H | 2019-03-17 | 1 | -1/+4 |
| | | | | | resolves #1992 | ||||
| * | Fix Embed.to_dict to work with TZ aware datetime objects. | Rapptz | 2019-03-15 | 1 | -1/+1 |
| | | |||||
| * | Add Embed.copy to do a copy on an embed object. | Rapptz | 2019-03-13 | 1 | -0/+4 |
| | | |||||
| * | Add Embed.__len__ to query total character size of an embed. | Rapptz | 2019-03-13 | 1 | -0/+31 |
| | | |||||
| * | Expose Embed.from_data as Embed.from_dict | Rapptz | 2019-03-13 | 1 | -1/+15 |
| | | | | | This is a breaking change. | ||||
| * | Bumped copyright years to 2019. | Dante Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | Add intersphinx | Tobotimus | 2018-01-06 | 1 | -9/+9 |
| | | |||||
| * | Update embed property doc grammar | Steve C | 2017-08-29 | 1 | -6/+6 |
| | | |||||
| * | Simplify embed timestamp code due to it being fixed Discord side. | Rapptz | 2017-07-09 | 1 | -8/+1 |
| | | | | | See https://github.com/hammerandchisel/discord-api-docs/issues/291 | ||||
| * | Make checking for truth-ness of EmbedProxy easier. | Rapptz | 2017-06-16 | 1 | -0/+3 |
| | | |||||
| * | Handle aware datetimes in embeds. | Rapptz | 2017-03-13 | 1 | -2/+9 |
| | | |||||
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Add missing fields to Embed.from_data() | Ian Salmons | 2017-01-08 | 1 | -1/+1 |
| | | |||||
| * | Move message creation to a factory method inside ConnectionState. | Rapptz | 2017-01-03 | 1 | -3/+2 |
| | | |||||
| * | Absolute import some circular dependencies to appease Python 3.4. | Rapptz | 2017-01-03 | 1 | -2/+3 |
| | | |||||
| * | Make discord.Embed builder more strict and easier to use. | Rapptz | 2016-11-22 | 1 | -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. | Rapptz | 2016-11-13 | 1 | -0/+398 |