Skip to content

Discord Bot Hosting

Mamba Host’s Discord bot hosting provides production-grade infrastructure for moderation suites, music bots, automation agents, and AI-powered assistants. Every container runs on Dell PowerEdge R630 hardware (dual Intel E5-2680v4, 128 GB RAM, NVMe storage) behind 99.9% uptime targets, Cloudflare-backed DDoS mitigation, and auto-restart orchestration.

  • Runtimes: Node.js 18/20 and Python 3.11 with full support for Discord.js, Eris, Oceanic, discord.py, Nextcord, Py-cord, Disnake, Hikari, and custom frameworks.
  • Provisioning: Containers boot in under two minutes through https://panel.mambahost.com and inherit our standard monitoring + backup policies.
  • Access: SFTP/FTP, web file manager, live console streaming, package managers (npm/pip), and an encrypted environment-variable editor for tokens/secrets.
  • Automation: Scheduler for cron-style restarts or script execution, Netlify/n8n/webhook integrations, optional MySQL databases, and status webhooks for CI/CD events.
  • Observability: Real-time CPU/RAM graphs, auto-restart history, downloadable logs, and incident alerts mirrored to https://status.mambahost.com.
  1. Gateway connection: Your bot container establishes a TLS tunnel to Discord’s gateway using intents you configure.
  2. Runtime cluster: Processes run inside isolated Docker containers on NVMe-backed nodes; per-plan CPU and RAM limits prevent noisy neighbors.
  3. Persistence layer: SQLite ships by default; Pro/Premium plans can request managed MySQL with phpMyAdmin for inventories, economy, or analytics data.
  4. Secret management: Tokens, API keys, and webhooks live inside the environment editor (AES-256 encrypted at rest) and are injected as process.env/os.getenv.
  5. Resilience loop: A watchdog monitors processes, restarting within seconds if exit codes are non-zero, and emits events to the panel + optional Discord alerts.

Plan data is centralized in src/games/game-server-products.ts, ensuring marketing pages and docs stay in sync.

PlanMonthly PriceRAMvCPUStorageSuggested Use Cases
Starter$1.99512 MB0.255 GB NVMeLightweight moderation utilities, webhook relays, slash-command helpers
Pro$5.491 GB0.510 GB NVMeMusic/voice bots, multi-module Discord.js apps, sharded deployments up to 2 shards
Premium$9.492 GB1.020 GB NVMeAI-backed bots, ML inference, multiple concurrent bots, heavy REST traffic

When to scale: increase tiers once sustained RAM exceeds 75%, audio transcoding pegs CPU over 70%, or you need additions like managed MySQL, background workers, or GPU-assisted inference (premium beta).

CapabilityStarterProPremium
Auto-Restart & Watchdog
Environment Variable Vault
Scheduled Tasks✅ (hourly)✅ (minutely)✅ (minutely + chained)
MySQL DatabaseOptional Add-on✅ Included on request✅ Included (multiple)
SSH / SFTP Access
Multiple Bot ProcessesManualSupported (Supervisor)Fully supported with PM2/multiprocess
Priority Support SLACommunity8-hour target2-hour target
  1. Rotate tokens after each major deployment; store them only via the panel’s env editor.
  2. Least privilege your bot by enabling only required gateway intents in the Discord Dev Portal.
  3. Dependency scanning: run npm audit / pip-audit locally before uploading; malicious packages are the top source of bot compromises.
  4. Webhooks & API keys: never commit secrets to repos; use env vars for Stripe, OpenAI, or proprietary endpoints.
  5. TLS enforcement: outbound requests leave through hardened egress; inbound management traffic is HTTPS-only with HSTS on the panel.
  • Shard management: use Discord.js’ ShardingManager or Disnake’s AutoShardedBot on Pro/Premium tiers; keep shard counts aligned with guild numbers to avoid unnecessary RAM usage.
  • Voice workloads: music bots rely on FFmpeg—open a ticket if you need system-level codecs or libsodium for sodium-native voice encryption.
  • Caching strategy: shift large caches to Redis/Upstash via environment variables if your command handlers rely on heavy lookups.
  • Async jobs: schedule queue processors or cron-style scripts in the panel scheduler instead of busy-wait loops inside the main process.
  • Moderation suites: combine auto-mod filters, logging channels, and timed punishments with MySQL persistence for long-term history.
  • Creator automation: integrate with Creator Labs deployments to sync Twitch events, YouTube uploads, or Netlify form submissions straight into Discord.
  • Economy/RPG bots: use managed MySQL plus scheduled backups; set up daily snapshots via the panel to avoid data loss during big updates.
  • AI copilots: run inference through external APIs (OpenAI, Anthropic) or host lightweight models; throttle requests and leverage rate-limiters to stay under Discord’s interaction deadlines.
  • Data residency: nodes currently operate out of Texas (USA). Multi-region failover is on the roadmap; contact support for custom placement.
  • Backups: environment variables, file systems, and MySQL dumps can be snapshotted nightly (opt-in). Retention defaults to 7 days.
  • Incident response: outages and maintenance events publish to https://status.mambahost.com and optionally to your Discord via webhook.
  • Access control: invite teammates into the panel with scoped permissions (view logs, deploy, manage billing).