diff options
| author | NCPlayz <[email protected]> | 2019-05-18 06:04:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-07 19:27:46 -0400 |
| commit | 3c9bcc285147154a2980f6e661efdfa676672b6a (patch) | |
| tree | 657bafa75e4e0d45361e394443ea932ad70e86a7 /discord/embeds.py | |
| parent | Added comment for/redo system information (diff) | |
| download | discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.tar.xz discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.zip | |
Improve documentation
Diffstat (limited to 'discord/embeds.py')
| -rw-r--r-- | discord/embeds.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/discord/embeds.py b/discord/embeds.py index 0adf20cc..e8b83985 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -87,10 +87,9 @@ class Embed: url: :class:`str` The URL of the embed. This can be set during initialisation. - timestamp: `datetime.datetime` + timestamp: :class:`datetime.datetime` The timestamp of the embed content. This could be a naive or aware datetime. - This can be set during initialisation. - colour: :class:`Colour` or :class:`int` + colour: Union[:class:`Colour`, :class:`int`] The colour code of the embed. Aliased to ``color`` as well. This can be set during initialisation. Empty |