7xpojav_

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.

  1. 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
  1. Branding
  • Name: 7xTierList
  • Prefix: "+"
  • Theme: Dark navy, aqua, cyan and white
  • Style: Professional Minecraft PvP esports
  • Discord: https://discord.gg/KVheb6rPFX
  1. Gamemodes and tiers

Implement exactly these 11 gamemodes:

  1. Mace
  2. NethOP
  3. Sword
  4. Axe
  5. UHC
  6. Pot
  7. SMP
  8. Vanilla
  9. CART
  10. DIA SMP
  11. Spear-Mace

Each gamemode supports:

  • HT1
  • LT1
  • HT2
  • LT2
  • HT3
  • LT3
  • HT4
  • LT4
  • HT5
  • LT5
  • N/A

Unassigned gamemodes must display N/A.

  1. 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"
  1. 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.

  1. Player self-selected tester system

Players must be able to select their preferred tester.

Workflow:

  1. Player clicks Request Test.
  2. Player selects a gamemode.
  3. Bot loads authorized and available testers.
  4. Bot displays tester selection dropdown.
  5. Player selects a tester.
  6. Bot sends a request to the selected tester.
  7. Tester receives Accept and Decline buttons.
  8. On acceptance, create a private test ticket.
  9. On decline, allow selection of another tester.
  10. 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"
  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. Leaderboards and statistics

Commands:

  • "+leaderboard"
  • "+top"
  • "+rankings"
  • "+stats"
  • "+testerstats"
  • "+testerlb"

Include gamemode rankings, player statistics, tester performance, test counts, upgrades, downgrades and recent results.

  1. 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.

  1. 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"
  1. 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.

  1. 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.

  1. 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
  1. 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/

  1. 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.
  1. Delivery requirements

Deliver:

  1. Complete Python source.
  2. Working commands and modules.
  3. Database models and initialization.
  4. Functional "+stestpanel".
  5. Functional registration panel.
  6. Both Premium and Cracked skin support.
  7. Registration open to both server members and non-members.
  8. Server Member and Community Member badges.
  9. Functional tester selection.
  10. Private test tickets.
  11. Result embeds with skins.
  12. Tier history.
  13. Website API integration.
  14. ".env.example".
  15. "requirements.txt".
  16. Complete installation README.
  17. 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.

Kodari AI
KodariOct 31 at 3:49 pm 4
SevenXTierList
A complete Minecraft PvP tier-testing Discord bot for the 7xTierList community. Features open registration for both server members and non-members with Premium and Cracked skin support, 11 gamemodes with tier tracking, self-selected tester system, private test tickets, official result embeds with skin renders, player profiles, leaderboards, tier history, and website API synchronization. Uses discord.py 2.x, SQLAlchemy, persistent views, and role-based permissions.
  1. Build the async SQLAlchemy schema, configuration, and shared skin/API utilities.

  2. Implement persistent registration/testing panels, tester selection, private tickets, and result workflows.

  3. Add player, tier, leaderboard, moderation, help, and ticket commands.

  4. Include deployment configuration, dependencies, and installation documentation.

Created the 7xTierList bot source with persistent registration/testing panels, player profiles and skins, tester assignment, private tickets, results and tier history, admin commands, SQLite/PostgreSQL configuration, and authenticated website event sync.

Before hosting, enable Message Content Intent and Server Members Intent in the Discord Developer Portal under Bot → Privileged Gateway Intents. Configure the bot with .env, install dependencies from requirements.txt, then start it with python main.py.

I did not run the bot or verify live Discord workflows, so I can’t claim it has been tested. The ZIP itself was not generated in this workspace; python build_zip.py creates 7xTierList-Bot.zip and excludes secrets, databases, and uploaded skins.

7xpojav_

For all commands use (/)slash commands or (+)prefix commands

Kodari AI
KodariOct 31 at 3:51 pm 1
  1. Convert every command and command group to hybrid commands, retaining + prefix support.

  2. Sync slash commands at startup and handle slash-command errors.

  3. Preserve skin uploads for slash commands with an attachment option.

All bot commands now support slash invocation and the existing + prefix. Slash commands sync at startup, and slash-command errors are handled. setskin accepts an attachment with either invocation style.

For + commands to work, enable Message Content Intent in the Discord Developer Portal under Bot → Privileged Gateway Intents. This bot also uses the Server Members Intent, which should be enabled there too.

7xpojav_

Download link

Kodari AI
KodariOct 31 at 3:59 pm 1

The updated files are in your project workspace. I can’t generate a separate ZIP download link here.

Kodari can make mistakes. Review important code before using.
Files
cogs
models
utils
views
build_zip.py
config.py
database.py
main.py
README.md
requirements.txt
Code
30 1,914
main.py
import logging
import os

import discord
from discord.ext import commands

from config import BOT_PREFIX, DISCORD_TOKEN
from database import Database
from views.registration_panel import RegistrationView
from views.testing_panel import TestingPanelView, TesterDecisionView, TicketControlView

logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(name)s: %(message)s")
log = logging.getLogger("7xtierlist")


class TierListBot(commands.Bot):
    def __init__(self):
        intents = discord.Intents.default()
        intents.message_content = True
        intents.members = True
        super().__init__(command_prefix=BOT_PREFIX, intents=intents, case_insensitive=True, help_command=None)
        self.db = Database()

    async def setup_hook(self):
        await self.db.initialize()
        extensions = (
            "cogs.help", "cogs.registration", "cogs.players", "cogs.testing", "cogs.testers",
            "cogs.results", "cogs.tiers", "cogs.tickets", "cogs.leaderboards", "cogs.admin",
            "cogs.website_api",
        )
        for extension in extensions:
            try:
                await self.load_extension(extension)
            except Exception:
                log.exception("Could not load extension %s", extension)
                raise
        self.add_view(RegistrationView(self))
        self.add_view(TestingPanelView(self))
        self.add_view(TesterDecisionView(self))
        self.add_view(TicketControlView(self))
        await self.tree.sync()

    async def close(self):
        await self.db.close()
        await super().close()


bot = TierListBot()


@bot.event
async def on_ready():
    log.info("Logged in as %s (%s)", bot.user, bot.user.id)
    print("KODARI_READY", flush=True)


@bot.event
async def on_command_error(ctx, error):
    if isinstance(error, commands.CommandNotFound):
        return
    if isinstance(error, commands.CommandOnCooldown):
        return await ctx.reply(f"Please wait {error.retry_after:.1f}s before using that command again.")
    if isinstance(error, commands.MissingRequiredArgument):
        return await ctx.reply(f"Missing argument `{error.param.name}`. Use `+help` for command usage.")
    if isinstance(error, commands.BadArgument):
        return await ctx.reply("I couldn't parse that user or argument. Mention a server member and check the command format.")
    if isinstance(error, commands.NoPrivateMessage):
        return await ctx.reply("This command can only be used in a server.")
    if isinstance(error, commands.CheckFailure):
        return await ctx.reply("You don't have permission to use that command.")
    log.exception("Command failed", exc_info=error)
    try:
        await ctx.reply("That operation failed unexpectedly. The error has been logged; please try again later.")
    except discord.HTTPException:
        pass


@bot.tree.error
async def on_app_command_error(interaction, error):
    if isinstance(error, discord.app_commands.CommandOnCooldown):
        message = f"Please wait {error.retry_after:.1f}s before using that command again."
    elif isinstance(error, discord.app_commands.CheckFailure):
        message = "You don't have permission to use that command."
    else:
        log.exception("Application command failed", exc_info=error)
        message = "That operation failed unexpectedly. The error has been logged; please try again later."
    try:
        if interaction.response.is_done():
            await interaction.followup.send(message, ephemeral=True)
        else:
            await interaction.response.send_message(message, ephemeral=True)
    except discord.HTTPException:
        pass


if __name__ == "__main__":
    if not DISCORD_TOKEN:
        raise RuntimeError("DISCORD_TOKEN is missing. Copy .env.example to .env and add your bot token.")
    bot.run(DISCORD_TOKEN, log_handler=None)