A comprehensive Discord bot for managing support tickets with advanced features like categorization, rating system, and automated responses.
- 🎫 Ticket Management - Create, claim, transfer, and close tickets
- 📊 Priority System - Set ticket priorities (low/medium/high/critical)
- ⭐ Rating System - Users can rate their support experience
- 🏷️ Categories - Organize tickets by different support categories
- 🤖 Auto Triggers - Keyword-based automatic responses
- 📈 Statistics - Server and bot performance metrics
- 🎨 Customizable Panels - Dropdown or button-based ticket creation
- Go to Discord Developer Portal
- Create a new application and bot
- Copy the bot token for the
.envfile - Invite the bot with these permissions:
Administrator(recommended) or:Manage ChannelsManage MessagesSend MessagesView ChannelsRead Message HistoryAdd ReactionsUse Slash Commands
Create a .env file in your project root with the following variables:
# Required - Your Discord bot token
TOKEN=your_bot_token_here
# Optional - Bot configuration
PREFIX=!
BOT_STATUS=!help | /help
BOT_STATUS_TYPE=STREAMING
# Optional - Support server link
SUPPORT_SERVER=https://discord.gg/GQfuF4Bx8r
TOKEN- Your Discord bot token from the Developer Portal
PREFIX- Command prefix for legacy commands (default:!)BOT_STATUS- Status message displayed by the bot (default:!help | /help)BOT_STATUS_TYPE- Type of status activity:STREAMING- Shows as streaming (default)PLAYING- Shows as playing a gameWATCHING- Shows as watching somethingLISTENING- Shows as listening to somethingIDLE- Shows bot as idleDND- Shows bot as do not disturbINVISIBLE- Shows bot as offline
SUPPORT_SERVER- Your support server invite link (default: Harly Xploitz server)
- Fork this repl or create a new Python repl
- Upload/paste all bot files
- Add your environment variables in the Secrets tab:
- Key:
TOKEN, Value:your_bot_token_here - Add any other optional variables as needed
- Key:
- Click the "Run" button
- Install Python 3.11+
- Install dependencies:
pip install -r requirements.txt - Create your
.envfile with the configuration above - Run:
python main.py
Once the bot is online in your Discord server:
- Use
/setup-ticketsto configure the ticket system - Follow the setup wizard to:
- Set support staff role
- Configure ticket categories
- Set up logging channels
- Configure rate limiting
- Use
/send-panel dropdownor/send-panel buttonto deploy ticket creation panels
/setup-tickets- Complete system setup wizard/add-category <name>- Add new ticket category/remove-category <name>- Remove ticket category/list-categories- View all categories/send-panel <type>- Deploy ticket panels/reset-categories- Reset to default categories
/close-ticket- Close current ticket with transcript/claim-ticket- Claim ticket for support/transfer-ticket @user- Transfer ticket to another staff member/priority <level>- Set ticket priority
/add-trigger <keyword> <message>- Create auto-response trigger/remove-trigger <keyword>- Remove trigger/list-triggers- View all triggers/trigger-get <keyword>- View trigger response
/help- Display help menu/stats- Server statistics/ping- Check bot latency/botinfo- Bot information/faq- Frequently asked questions
The bot uses SQLite for data storage. The database file (bot.db by default) contains:
- Ticket configurations per server
- Active and closed tickets
- User ratings and feedback
- Trigger keywords and responses
- Rate limiting data
- Support Server: Discord
- Developer: Harly
- Issues: Create tickets in our support server for bug reports and feature requests
- Documentation: Full documentation available in our support server
- Community: Join our Discord for updates, tips, and community discussions
- Ensure your bot runs correctly in development
- Add environment variables to Replit Secrets
- Your bot will automatically stay online with Replit's hosting
The bot includes automatic reconnection handling and will restart if it encounters errors. Monitor the console for any issues.
Join our community for premium Discord solutions and expert support!