goat.ego
πŸ“Ž 1 file 3,894 chars
πŸ“„
pasted-code-1772128508149.txt
txt 180 lines
β–Ά
Here’s a **clean, detailed master prompt** you can paste into your AI bot builder (like BotGhost, Autocode, GPT-based bot generator, etc.) to generate your full-feature Discord bot.

---

## πŸ“Œ PROMPT FOR YOUR DISCORD BOT β€” *Neptune Core*

Create a powerful, professional Discord bot named **Neptune Core** designed for a Discord invite reward server. The bot must include a full ticket system, stock system, moderation, anti-link protection, invite tracking, and auto role features.

### πŸ”Ή General Requirements

* Bot name: **Neptune Core**
* Embed style: Clean, modern, blue/purple themed
* All logs must go to configurable log channels
* All admin commands restricted to staff roles
* Slash commands + prefix support (`.` prefix)
* Fully configurable categories and role IDs

---

# 🎫 Ticket System

Create a ticket system with dropdown panel selection.

### Ticket Categories:

1. 🎧 Support Ticket
2. 🚨 Report Ticket
3. 🀝 Partner Ticket

### Requirements:

* Each ticket creates a private channel inside a specific open ticket category.
* Only the ticket creator + staff roles can view it.
* Send an embedded welcome message when created.
* Include a πŸ”’ Close button.
* When closed:

  * Move channel to a **Closed Tickets** category.
  * Rename to `closed-username`
  * Lock permissions.
  * Send transcript to a transcript log channel.
  * Optionally delete after X hours (configurable).

---

# πŸ“¦ Stock System

### Commands:

`.item add  `
β†’ Adds an item to the stock database.

`.item remove `
β†’ Removes an item.

`.item edit  `
β†’ Edits stock amount.

`.stock`
β†’ Shows all available items and their stock in an embed.

### Requirements:

* Members can use `.stock`
* Only admins can use `.item` commands.
* If stock reaches 0, show as ❌ Out of Stock.
* Data must persist (JSON or database).

---

# 🎭 Join Roles System

* Auto role for humans.
* Separate auto role for bots.
* Detect bots vs humans on join.
* Log joins/leaves.

---

# πŸ›‘ Moderation System

Include:

* `.ban`
* `.kick`
* `.timeout`
* `.warn`
* `.warnings`
* `.clear`
* `.lock`
* `.unlock`
* `.slowmode`

All moderation actions must:

* Require proper permissions.
* Log to mod-log channel.
* Send embed confirmation.

---

# πŸ”— Anti Server Links

* Automatically delete Discord invite links.
* Timeout user for X minutes (configurable).
* Log violation.
* Whitelist specific invite links.
* Bypass for staff roles.

---

# πŸŽ‰ Invite Reward System (VERY IMPORTANT)

This is for an invite reward server.

### Features:

* Track user invites.
* Detect:

  * Fake invites
  * Left members
  * Real invites
* Command `.invites @user`
* Leaderboard `.invites top`
* Auto reward roles when reaching invite milestones.
* Remove reward roles if invites drop below requirement.

---

# πŸ“Š Extra Features Needed

* Giveaway system
* Reaction roles
* Welcome & leave embed messages
* Server stats channel (live member count)
* Auto bump reminder (for Disboard)
* Suggestions system (with voting)
* Leveling system (optional toggle)
* Role menu system
* Config command for admins
* Help command showing all categories

---

# βš™οΈ Structure Requirements

* Modular command handler
* Event handler
* Config file
* Database for:

  * Stock
  * Invites
  * Warnings
  * Tickets
* Error handling
* Cooldowns
* Anti spam protection

---

# 🎨 Design Style

* All responses must use embeds.
* Use buttons & dropdowns where possible.
* Professional invite-reward server aesthetic.
* Fast & optimized.

---

If you'd like, tell me what coding language you're using (JavaScript, Python, etc.) and I can generate:

* The full bot code
* Folder structure
* Database setup
* Deployment guide

Ready to build Neptune Core 🌊
Kodari AI
KodariFeb 26 at 5:58 pm 21,805 (v2)

I’ll create a comprehensive Discord bot called Neptune Core with all the requested features using discord.py.

NeptuneCore
A comprehensive Discord bot for invite reward servers featuring an advanced ticket system with dropdown panels, stock management system, invite tracking with milestone rewards, moderation tools, anti-link protection, giveaway system, reaction roles, welcome messages, server stats, auto bump reminders, suggestions with voting, optional leveling system, and role menus. Includes full logging, database persistence, and modern embed-based interface.

Neptune Core bot created successfully! This is a comprehensive Discord bot with all requested features:

βœ… Ticket system with dropdown panels (Support, Report, Partner) βœ… Stock management with add/remove/edit commands βœ… Full moderation suite (ban, kick, timeout, warn, clear, lock, slowmode) βœ… Invite tracking with automatic role rewards and fake invite detection βœ… Anti-link protection with configurable timeouts and whitelisting βœ… Giveaway system with auto-end and reroll features βœ… Auto roles for humans and bots βœ… Welcome/leave messages with logging βœ… Suggestions system with approve/deny βœ… Leveling system with XP and leaderboards βœ… All logging to configurable channels βœ… Modern embeds with blue/purple theme βœ… Bump reminders for Disboard

Configure config.json with your channel/role IDs, add your bot token to .env, install dependencies, and run with python bot.py!

Kodari can make mistakes. Review important code before using.
Files
cogs
data
utils
.gitignore
bot.py
config.json
README.md
requirements.txt
Code
22 1,919
bot.py
import discord
from discord.ext import commands
import os
import asyncio
import json
from dotenv import load_dotenv
from utils.database import Database

load_dotenv()

class NeptuneCore(commands.Bot):
    def __init__(self):
        intents = discord.Intents.all()
        super().__init__(
            command_prefix='.',
            intents=intents,
            help_command=None,
            case_insensitive=True
        )
        self.db = Database()
        
    async def setup_hook(self):
        cogs_list = [
            'cogs.tickets',
            'cogs.stock',
            'cogs.moderation',
            'cogs.invites',
            'cogs.automod',
            'cogs.giveaways',
            'cogs.roles',
            'cogs.welcomer',
            'cogs.suggestions',
            'cogs.leveling',
            'cogs.utility'
        ]
        
        for cog in cogs_list:
            try:
                await self.load_extension(cog)
                print(f'Loaded {cog}')
            except Exception as e:
                print(f'Failed to load {cog}: {e}')
        
        await self.tree.sync()
        print('Slash commands synced')

    async def on_ready(self):
        print(f'Neptune Core is online!')
        print(f'Logged in as {self.user} (ID: {self.user.id})')
        print(f'Connected to {len(self.guilds)} guilds')
        
        activity = discord.Activity(
            type=discord.ActivityType.watching,
            name="invites | .help"
        )
        await self.change_presence(activity=activity)

bot = NeptuneCore()

if __name__ == '__main__':
    token = os.getenv('DISCORD_TOKEN')
    if not token:
        print('Error: DISCORD_TOKEN not found in .env file')
    else:
        bot.run(token)