Once you have filled in all four configuration values 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 — the category ID, logs channel ID, staff role ID, and embed color — you are ready to launch the bot and begin accepting support tickets from your community.
Starting the Bot
Run the following command from the root of the repository. Python 3.8 or higher is required.The bot is initialised with
help_command=None, so the built-in tb!help command is intentionally disabled. There is no help listing available to users by default.Verifying Startup
When the bot connects successfully to Discord, two things happen immediately inside theon_ready event:
- Console output — the terminal prints
Ready to support ✅. - Discord status — the bot sets its presence to Watching N members, where N is the total member count across every guild the bot has joined (minus the bot account itself).
Ready to support ✅ in the console, double-check that your bot token is correctly placed in the bot.run('') call at the bottom of main.py.
Posting the Ticket Panel
With the bot running, navigate to any text channel in your Discord server where you want the ticket panel to live and run:- Silently delete your
tb!ticketinvocation message so the channel stays clean. - Post a rich embed containing a green 🔧 Create a ticket button.
Checking the Ticket Panel
After runningtb!ticket, the posted embed will look like this:
| Property | Value |
|---|---|
| Title | Tickets |
| Description | Welcome to tickets system. |
| Banner image | A decorative image hosted at https://i.imgur.com/FoI5ITb.png |
| Button | 🔧 Create a ticket (green) |
embed_color value you configured (default 0xfcd005, a golden yellow). This panel is the single entry point for all ticket interactions — members click the button to begin the ticket flow.