Embeds¶
discord_http.embeds module¶
- class discord_http.embeds.Embed(*, title=None, description=None, colour=None, color=None, url=None, timestamp=None)¶
Bases:
object- Parameters:
- classmethod from_dict(data) Self¶
Create an embed from a dictionary.
- Parameters:
data (
dict) – The dictionary to create the embed from- Return type:
Self- Returns:
The embed created from the dictionary
- remove_author() Self¶
Remove the author from the embed.
- Return type:
Self- Returns:
Returns the embed you are editing
- remove_field(index) Self¶
Remove a field from the embed.
- Parameters:
index (
int) – The index of the field to remove- Return type:
Self- Returns:
Returns the embed you are editing
Remove the footer from the embed.
- Return type:
Self- Returns:
Returns the embed you are editing
- remove_image() Self¶
Remove the image from the embed.
- Return type:
Self- Returns:
Returns the embed you are editing
- remove_thumbnail() Self¶
Remove the thumbnail from the embed.
- Return type:
Self- Returns:
Returns the embed you are editing
Set the footer of the embed.