main/main.py. Changing embed_color once is all it takes to re-theme the entire bot without hunting through each embed definition individually.
The default value shipped with the bot is a warm yellow-gold:
color argument every time a discord.Embed is constructed, which is why a single change propagates everywhere instantly.
How to Change the Color
1
Pick a hex color
Use any color picker tool to find the hex code you want. htmlcolorcodes.com is a convenient online option. The picker will give you a value like
#5865F2.2
Convert to Python format
Discord (and Python) expects the color as an integer literal, not a CSS string. Drop the
# and add a 0x prefix:3
Update main.py
Open
main/main.py and replace the embed_color value near the top of the file:4
Restart the bot
Save the file and restart the bot process. All new embeds will use the updated color. Embeds already posted in Discord channels will not be retroactively updated.
Example Color Values
Below are several ready-to-use values, including Discord’s own brand palette:Where embed_color Is Used
The variable is referenced by everydiscord.Embed the bot constructs. Here is the full list of embeds that use it:
- Ticket panel embed — The embed posted by the
tb!ticketcommand, which contains the Create Ticket button. - Inside-ticket welcome embed (Question) — The greeting embed posted when a Question ticket channel is created.
- Inside-ticket welcome embed (Help) — The greeting embed posted when a Help ticket channel is created.
- Inside-ticket welcome embed (Report) — The greeting embed posted when a Report ticket channel is created.
- Call staff embed — The temporary notification embed that pings the staff role when a user presses “Call staff”.
- Close ticket confirmation embed — The “Are you sure?” prompt with the Yes/No buttons shown when a user presses “Close ticket”.
- Ticket log embed — The summary embed sent to the logs channel after a ticket channel is deleted.