7xTierList — Complete Python Discord Bot Development Prompt
Build a complete, production-ready Minecraft PvP Tier Testing Discord Bot named 7xTierList.
The bot must use Python, discord.py 2.x, the "+" prefix, interactive Discord embeds, buttons, dropdowns, modals, persistent views and database storage.
Do not create a basic demo. Implement actual commands, permissions, database operations, panels and workflows.
- Technology
- Python 3.11+
- discord.py 2.x
- SQLite for initial setup, PostgreSQL support for production
- SQLAlchemy
- aiohttp
- Pillow for skin processing
- Environment variables for secrets
- Branding
- Name: 7xTierList
- Prefix: "+"
- Theme: Dark navy, aqua, cyan and white
- Style: Professional Minecraft PvP esports
- Discord: https://discord.gg/KVheb6rPFX
- Gamemodes and tiers
Implement exactly these 11 gamemodes:
- Mace
- NethOP
- Sword
- Axe
- UHC
- Pot
- SMP
- Vanilla
- CART
- DIA SMP
- Spear-Mace
Each gamemode supports:
- HT1
- LT1
- HT2
- LT2
- HT3
- LT3
- HT4
- LT4
- HT5
- LT5
- N/A
Unassigned gamemodes must display N/A.
- Registration — Both server members and non-members
Registration policy: BOTH
Anyone in the Discord server can register, whether or not they are a member of the Minecraft server.
Players who are verified Minecraft server members should receive a separate Server Member badge. Non-members should receive a Community Member badge.
Do not reject registrations just because someone is not in the Minecraft server.
Command: "+register"
Create an interactive registration modal collecting:
- Minecraft IGN
- Account type: Premium or Cracked
- Region: Asia, Europe, North America, Other
- Skin selection/upload
- Discord account automatically
- Preferred gamemodes
- Minecraft server membership status
Prevent duplicate registrations and unauthorized profile edits.
Premium skin support
- Fetch Java UUID and skin from legitimate Minecraft profile sources where available.
- Display Minecraft skin and head render.
- Refresh skin information when requested.
- Never ask for Microsoft passwords, session tokens or account credentials.
Cracked skin support
- Allow PNG skin upload.
- Allow supported skin URLs.
- Support Steve and Alex models.
- Save uploaded skin securely.
- Display the skin on profiles, testing tickets and result embeds.
- Allow players to change their skin using "+setskin".
Skin policy: BOTH Premium and Cracked players must have skin support. If automatic lookup fails, offer manual skin upload or a default avatar.
Commands:
- "+register"
- "+editprofile"
- "+setskin"
- "+setign"
- "+setaccount"
- "+setregion"
- "+profile"
- "+lookup"
- "+history"
- Main testing and registration panel — +stestpanel
Command: "+stestpanel"
Admin-only.
Create a permanent Discord embed titled:
⚡ 7xTierList — OFFICIAL TESTING & REGISTRATION
Include:
- All 11 gamemodes
- Register button
- Request Test button
- Player Profile button
- Testing information
- Available tester information
- Registration instructions
- Server Member and Community Member information
Gamemode selection must use Discord dropdown menus.
Store panel message ID and channel ID in the database. Use persistent Discord views so buttons continue working after restarts.
- Player self-selected tester system
Players must be able to select their preferred tester.
Workflow:
- Player clicks Request Test.
- Player selects a gamemode.
- Bot loads authorized and available testers.
- Bot displays tester selection dropdown.
- Player selects a tester.
- Bot sends a request to the selected tester.
- Tester receives Accept and Decline buttons.
- On acceptance, create a private test ticket.
- On decline, allow selection of another tester.
- Notify the player about the assignment.
Validate tester permissions, availability, busy status, gamemode permissions, maximum active tests and cooldowns.
Commands:
- "+tester add"
- "+tester remove"
- "+tester list"
- "+tester status"
- "+tester busy"
- "+tester available"
- "+test"
- "+queue"
- "+joinqueue"
- "+leavequeue"
- "+next"
- "+skip"
- "+canceltest"
- "+forcetest"
- Private testing ticket system
Each accepted test creates a private Discord ticket containing:
- Player information
- Minecraft skin and head render
- Minecraft IGN
- Account type
- Region
- Discord profile
- Server membership badge
- Gamemode
- Previous tier
- Assigned tester
- Test status
Buttons:
- Start Test
- Submit Result
- Cancel Test
- Transfer Tester
- Close Ticket
Only assigned testers and authorized admins can submit results.
- Official result system
Command:
"+result @player Sword HT2"
Authorized tester/admin only.
Automatically fetch the previous rank for the selected gamemode.
Create a professional result embed containing:
- Player's Minecraft skin
- Player head render
- Minecraft IGN
- Discord username
- Premium/Cracked account type
- Server Member/Community Member badge
- Region
- Gamemode
- Previous rank
- New rank obtained
- Rank change status
- Tester name
- Result submitted by
- Test date and time
- Tester notes
Example:
⚡ 7xTierList — OFFICIAL RESULT
Player: PlayerName Account: Cracked Membership: Server Member Region: Asia Gamemode: Sword
Previous Rank: LT3 New Rank Obtained: HT2
Tested By: @Tester Submitted By: @Admin
Status: RANK UPGRADED
Publish results in the configured results channel.
Commands:
- "+result"
- "+results"
- "+result edit"
- "+result undo"
Undo must restore the previous rank while retaining the audit record.
- Tier management
Commands:
- "+tier set"
- "+tier remove"
- "+tier history"
- "+tierwipe"
- "+setpeaktier"
- "+player add"
- "+player remove"
- "+player info"
Tier removal must affect only the selected gamemode.
Record previous tier, new tier, changed by, date, reason and related result ID.
- Player profiles
Display:
- Minecraft skin
- Minecraft IGN
- Discord account
- Account type
- Region
- Registration date
- Server membership badge
- All 11 gamemode tiers
- Peak tier
- Test count
- Tester history
- Tier history
Use skin/head images wherever possible.
- Leaderboards and statistics
Commands:
- "+leaderboard"
- "+top"
- "+rankings"
- "+stats"
- "+testerstats"
- "+testerlb"
Include gamemode rankings, player statistics, tester performance, test counts, upgrades, downgrades and recent results.
- Admin and moderation
Commands:
- "+setup"
- "+config"
- "+announce"
- "+force-register"
- "+setrankuser"
- "+cooldown"
- "+cooldownreset"
- "+ban"
- "+unban"
- "+blacklist"
- "+unblacklist"
- "+ticket add"
- "+ticket remove"
- "+ticket rename"
- "+ticket close"
Use role-based permission checks. Separate admin, tester and normal player permissions.
- Help menu
Command: "+help"
Create an interactive category-based help embed:
- General
- Registration
- Player
- Testing
- Results
- Tiers
- Testers
- Leaderboards
- Tickets
- Admin
Also implement:
- "+commands"
- "+about"
- "+ping"
- Website API integration
Connect to the separate 7xTierList website.
Sync:
- Player registration
- Player removal
- Profile updates
- Skin updates
- Membership badge
- Tier changes
- Tier removals
- Results
- Tier history
Use authenticated API requests and "BOT_API_KEY" from environment variables. Never expose secrets publicly.
- Database
Create tables for:
- Players
- Player skins
- Registrations
- Gamemode tiers
- Tier history
- Test requests
- Test tickets
- Testers
- Tester availability
- Test results
- Cooldowns
- Blacklists
- Discord configuration
- Persistent panel messages
- Audit logs
All data must survive bot restarts.
- Configuration
Create ".env.example":
DISCORD_TOKEN= BOT_PREFIX=+ BOT_API_URL= BOT_API_KEY= DATABASE_URL=
Configuration commands must support:
- Registration channel
- Testing panel channel
- Results channel
- Logs channel
- Ticket category
- Tester role
- Admin role
- Member role
- Minecraft server membership verification
- Project structure
7xTierList-Bot/ ├── main.py ├── config.py ├── database.py ├── requirements.txt ├── .env.example ├── README.md ├── cogs/ │ ├── help.py │ ├── registration.py │ ├── players.py │ ├── testing.py │ ├── testers.py │ ├── results.py │ ├── tiers.py │ ├── tickets.py │ ├── leaderboards.py │ ├── admin.py │ └── website_api.py ├── views/ │ ├── registration_panel.py │ ├── testing_panel.py │ ├── tester_selection.py │ ├── result_panel.py │ └── help_menu.py ├── models/ ├── utils/ └── assets/
- Reliability and security
- Validate all inputs.
- Implement role-based permissions.
- Add spam protection and cooldowns.
- Handle Discord API errors.
- Handle missing skins gracefully.
- Prevent duplicate requests.
- Prevent unauthorized result submissions.
- Persist views after restarts.
- Log administrative changes.
- Handle website API failures safely.
- Avoid exposing private player information.
- Delivery requirements
Deliver:
- Complete Python source.
- Working commands and modules.
- Database models and initialization.
- Functional "+stestpanel".
- Functional registration panel.
- Both Premium and Cracked skin support.
- Registration open to both server members and non-members.
- Server Member and Community Member badges.
- Functional tester selection.
- Private test tickets.
- Result embeds with skins.
- Tier history.
- Website API integration.
- ".env.example".
- "requirements.txt".
- Complete installation README.
- ZIP named "7xTierList-Bot.zip".
Test the actual implementation before claiming it works. Do not use fake command handlers, placeholder buttons or simulated database operations.
Final goal: A complete 7xTierList Minecraft PvP tier-testing system with "+" prefix, open Discord registration, Premium and Cracked skin support, self-selected testers, all 11 gamemodes, official results, player profiles and automatic website synchronization.