Browse Source

[docs] add note for possible Embed.type strings

v1.x
Sebastian Law 4 years ago
committed by Rapptz
parent
commit
0d1cf57f62
  1. 2
      discord/embeds.py

2
discord/embeds.py

@ -81,6 +81,8 @@ class Embed:
type: :class:`str` type: :class:`str`
The type of embed. Usually "rich". The type of embed. Usually "rich".
This can be set during initialisation. 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` description: :class:`str`
The description of the embed. The description of the embed.
This can be set during initialisation. This can be set during initialisation.

Loading…
Cancel
Save