aboutsummaryrefslogtreecommitdiff
path: root/discord/embeds.py
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2019-05-18 06:04:54 -0400
committerRapptz <[email protected]>2019-06-07 19:27:46 -0400
commit3c9bcc285147154a2980f6e661efdfa676672b6a (patch)
tree657bafa75e4e0d45361e394443ea932ad70e86a7 /discord/embeds.py
parentAdded comment for/redo system information (diff)
downloaddiscord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.tar.xz
discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.zip
Improve documentation
Diffstat (limited to 'discord/embeds.py')
-rw-r--r--discord/embeds.py5
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