Models
botcity.plugins.discord.models.Color (Enum)
The color type.
Attributes:
Name | Type | Description |
---|---|---|
RED |
str |
The red color in hexadecimal. |
GRAY |
str |
The gray color in hexadecimal. |
BLUE |
str |
The blue color in hexadecimal. |
GREEN |
str |
The green color in hexadecimal. |
WHITE |
str |
The white color in hexadecimal. |
BLACK |
str |
The black color in hexadecimal. |
BROWN |
str |
The brown color in hexadecimal. |
YELLOW |
str |
The yellow color in hexadecimal. |
PURPLE |
str |
The purple color in hexadecimal. |
ORANGE |
str |
The orange color in hexadecimal. |
botcity.plugins.discord.models.Author
dataclass
Author info.
Attributes:
Name | Type | Description |
---|---|---|
url |
str |
Profile url. |
name |
str |
Author name. |
icon_url |
str |
URL to author profile picture. |
botcity.plugins.discord.models.Footer
dataclass
Footer info.
Attributes:
Name | Type | Description |
---|---|---|
text |
str |
Footer text. |
icon_url |
str |
URL to footer icon. |
botcity.plugins.discord.models.Field
dataclass
Field info.
Attributes:
Name | Type | Description |
---|---|---|
name |
str |
Name of field. |
value |
str |
Value of field. |
inline |
bool |
True if the embed fields are placed side by side, False the field are placed in new line. |
botcity.plugins.discord.models.EmbeddedMessage
dataclass
The embedded message.
Attributes:
Name | Type | Description |
---|---|---|
title |
str |
Title of embed. |
description |
str |
Description body of embed. |
color |
Union[str, botcity.plugins.discord.models.Color] |
Color code of the embed as hexadecimal string or Color enum. |
image |
str |
Your image url here. |
author |
Author |
Author information. |
footer |
Footer |
Footer texts. |
thumbnail |
str |
Your thumbnail url here. |
fields |
List[botcity.plugins.discord.models.Field] |
List of Field information. |
timestamp |
float |
Timestamp of embed content. |