Every embed the bot sends — from the ticket panel to the close-confirmation prompt — shares a single accent color controlled by one variable inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/astrxnomo/discord-ticket-bot-py/llms.txt
Use this file to discover all available pages before exploring further.
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
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.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: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.