aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Law <[email protected]>2021-04-07 04:17:57 -0700
committerGitHub <[email protected]>2021-04-07 07:17:57 -0400
commit4c72137e43a1663a19f6ebbe3bd07b15304517e7 (patch)
tree592ea66da1de9661929ef5bf47b171d394feef2f
parentFix regression in Activity relying on `try_enum` (diff)
downloaddiscord.py-4c72137e43a1663a19f6ebbe3bd07b15304517e7.tar.xz
discord.py-4c72137e43a1663a19f6ebbe3bd07b15304517e7.zip
[docs] add note for possible Embed.type strings
-rw-r--r--discord/embeds.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/embeds.py b/discord/embeds.py
index d08c9874..34efa37b 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -136,6 +136,8 @@ class Embed:
type: :class:`str`
The type of embed. Usually "rich".
This can be set during initialisation.
+ Possible strings for embed types can be found on discord's
+ `api docs <https://discord.com/developers/docs/resources/channel#embed-object-embed-types>`_
description: :class:`str`
The description of the embed.
This can be set during initialisation.