The most advanced Discord bot for managing orders, shop systems, and real item trading with Railway deployment support.
- Form Examples: Customers see helpful examples in order forms
- Ongoing Orders: Shows only unclaimed orders (disappears when claimed)
- Order Tracking: Orders โ Ongoing โ Claimed โ Received workflow
- User-Based Naming: Channels named
order-customername
- Real Trading: Buy/sell actual Roblox items, game accounts, skins
- Shop Categories: Roblox, Fortnite, Minecraft, Steam, etc.
- Purchase Channels: Private channels for each purchase
- Trade System: Player-to-player trading with middleman protection
- PostgreSQL: When deployed to Railway (data survives redeploys)
- JSON Fallback: When running locally
- Auto-Detection: Bot chooses best storage automatically
- Panel Templates: Gaming, Digital, Services presets
- Custom Panels: Fully customizable order panels
- Shop Management: Add/remove items with commands
- What: Your Discord Application ID
- Where: Discord Developer Portal โ Your App โ General Information โ Application ID
- Example:
1234567890123456789
- What: Your Discord Server ID
- Where: Right-click your Discord server โ Copy ID (need Developer Mode on)
- Example:
9876543210987654321
- Go to https://discord.com/developers/applications
- Create application โ Create bot
- Copy Bot Token and Application ID
- Fork this GitHub repository
- Connect to Railway.app
- Create project โ Deploy from GitHub
- Add environment variables:
DISCORD_TOKEN=your_bot_token CLIENT_ID=your_application_id GUILD_ID=your_server_id OWNER_ID=730629579533844512
!setup status # Check configuration
!setup category 123456789012345678 # Ticket category
!setup support 123456789012345678 # Support role
!setup logs 123456789012345678 # Log channel
!setup orders 123456789012345678 # New orders channel
!setup received 123456789012345678 # Completed orders
!setup ongoing 123456789012345678 # Unclaimed orders
!setup admin add 123456789012345678 # Add staff
!panel template gaming # Choose template
!panel create # Create order panel
!shop panel # Create shop panel
advanced-order-bot/
โโโ index.js # Main bot file
โโโ config.json # Configuration
โโโ package.json # Dependencies
โโโ railway.json # Railway settings
โโโ deploy-commands.js # Command deployment
โโโ .env.example # Environment template
โโโ Dockerfile # Docker support
โโโ README.md # This file
โโโ commands/
โ โโโ setup.js # Bot setup
โ โโโ ticket.js # Order management
โ โโโ admin.js # Admin utilities
โ โโโ panel.js # Panel customization
โ โโโ shop.js # Shop management
โโโ events/
โ โโโ ready.js # Bot startup
โ โโโ interactionCreate.js # Interactions
โโโ systems/
โ โโโ ticketSystem.js # Order system
โ โโโ database.js # Database system
โ โโโ shopSystem.js # Shop & trading
โโโ data/ (auto-created)
โโโ tickets.json # Active tickets
โโโ orders.json # Order history
โโโ shop_items.json # Shop items
!setup category <id> # Set ticket category
!setup support <id> # Set support role
!setup logs <id> # Set log channel
!setup orders <id> # Set orders channel
!setup received <id> # Set received channel
!setup ongoing <id> # Set ongoing channel
!setup admin add <id> # Add admin
!setup status # Show config
!panel create [channel] # Create order panel
!panel template gaming # Use gaming template
!panel template digital # Use digital template
!panel template services # Use services template
!panel preview # Preview panel
!panel reset # Reset to default
!shop panel [channel] # Create shop panel
!shop add-item Name | 50 | Roblox | Description | 5 | URL # Add item
!shop list # List items
!shop stats # Shop statistics
!ticket panel [channel] # Create ticket panel
!ticket close # Force close order
!ticket add @user # Add user to order
!ticket remove @user # Remove user
!admin info # Bot statistics
!admin say <message> # Make bot speak
!admin embed Title | Desc # Create embed
!admin clean <amount> # Delete messages
- Customer clicks "Place Your Order"
- Form appears with helpful examples
- Private channel created as
order-customername
- Ongoing channel shows unclaimed order
- Staff clicks "Claim Order"
- Order disappears from ongoing
- Orders channel shows "being processed"
- Staff clicks "Mark Completed"
- Received channel celebrates completion
- Browse shop by categories
- Select item to purchase
- Purchase channel created automatically
- Staff processes payment
- Item delivered securely
- Create trade request with forms
- Trade channel created for both users
- Middleman service available
- Secure trading environment
- Roblox Limiteds trading
- Game account sales
- In-game currency
- Rank boosting services
- Software licenses
- Social media accounts
- Streaming subscriptions
- Digital downloads
- Graphic design
- Website development
- Content creation
- Custom programming
- Private Channels: Each order gets private discussion
- Role Permissions: Only staff can manage orders
- Data Persistence: Orders saved even if bot restarts
- Middleman Trading: Safe trading with staff oversight
- Audit Logs: Complete activity tracking
- Professional Image: Custom branded panels
- Automated Workflow: Orders processed efficiently
- Customer Tracking: Complete order history
- Staff Management: Clear role assignments
- Social Proof: Public completion celebrations
- Scalable System: Handles high order volumes
Variable | Required | Description |
---|---|---|
DISCORD_TOKEN |
โ | Bot token from Discord Developer Portal |
CLIENT_ID |
โ | Discord Application ID |
GUILD_ID |
โ | Discord Server ID |
OWNER_ID |
โ | Your Discord User ID |
DATABASE_URL |
โ | PostgreSQL URL (Railway provides automatically) |
!setup status # See what's missing
# Configure all 6 channels + support role
- CLIENT_ID = Application ID from Developer Portal
- GUILD_ID = Server ID (right-click server, Copy ID)
- Both are 18-19 digit numbers
- Fixed: Now shows only unclaimed orders
- Orders disappear when claimed by staff
- Check !setup status for missing channels
- Check all environment variables are set
- Verify GitHub repository has all files
- Check Railway logs for specific errors
- Use appropriate panel template for your niche
- Set up all 6 channels for complete tracking
- Train staff on claim/complete workflow
- Monitor ongoing orders regularly
- Showcase completed orders in received channel
- Use shop system for instant purchases
- Offer middleman trading services
- Maintain professional customer service
- Add multiple admins for coverage
- Use admin commands for quick management
- Leverage persistent database for reliability
- Monitor shop statistics for insights
- Issues: Create GitHub issues for bugs
- Features: Request new features via issues
- Setup Help: Follow this README step-by-step
- Custom Development: Available for hire
- Deploy to Railway (10 minutes)
- Setup Discord channels (15 minutes)
- Configure panels & shop (10 minutes)
- Start taking orders! (immediately)
๐ฐ Complete business system ready in under 45 minutes!
๐ฏ Most advanced Discord order & shop bot available - start your business today!