Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Dan Hess
e04bd1b3a1
Fix error when trying to clear empty image/thumbnail in embeds
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
jack1142
a601cf43ab
Allow clearing the author information in embeds.
5 years ago
Rapptz
66c6be50d8
Prepare for the discord.com domain rename
5 years ago
Riley Shaw
75d3c4f6cf
allow passing EmptyEmbed to set_image and set_thumbnail
5 years ago
Rapptz
02397306b2
Drop superfluous zero in version related changes in the documentation
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Dante Dam
84e9168447
Grammar fixes for notes on EmbedProxy
6 years ago
Kyber
f2c7b2e6d8
Add an insert_field_at method for the embed class
6 years ago
Rapptz
792b31833a
Mention what can be done during initialisation in embeds.
6 years ago
NCPlayz
fb02191b80
Organise documentation
6 years ago
Rapptz
4bd4c23694
Fix NameError in Embed.to_dict
6 years ago
Michael H
03616b91db
Fix embed to_dict timestamp handling for python 3.5
resolves #1992
6 years ago
Rapptz
70c5f1723f
Fix Embed.to_dict to work with TZ aware datetime objects.
6 years ago
Rapptz
7fbdc6e83f
Add Embed.copy to do a copy on an embed object.
6 years ago
Rapptz
35a330c5d3
Add Embed.__len__ to query total character size of an embed.
6 years ago
Rapptz
73aca4d4d3
Expose Embed.from_data as Embed.from_dict
This is a breaking change.
6 years ago
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
6 years ago
Hornwitser
c8b49d37be
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
7 years ago
Tobotimus
3112e1c17e
Add intersphinx
7 years ago
Steve C
221df0ab02
Update embed property doc grammar
8 years ago
Rapptz
1d3bb1f510
Simplify embed timestamp code due to it being fixed Discord side.
See https://github.com/hammerandchisel/discord-api-docs/issues/291
8 years ago
Rapptz
15edfc2b26
Make checking for truth-ness of EmbedProxy easier.
8 years ago
Rapptz
1239e88d05
Handle aware datetimes in embeds.
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Ian Salmons
9224d9b9d3
Add missing fields to Embed.from_data()
8 years ago
Rapptz
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
c4ee4c1db4
Make discord.Embed builder more strict and easier to use.
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.
8 years ago
Rapptz
af46718460
Add support for rich embeds.
9 years ago