Build a Production-Ready Discord Bot in 5 Minutes (Node.js + discord.js v14)

Published: (January 27, 2026 at 06:36 PM EST)
2 min read
Source: Dev.to

Source: Dev.to

Introduction

Every Discord bot tutorial starts the same way: 40 minutes of boilerplate before you get anything useful running. I got tired of that, so I built a starter kit.

Lite Starter Kit

The lite version includes three essential slash commands:

  • /ping – Latency check with WebSocket stats
  • /serverinfo – Full server stats (members, channels, boosts)
  • /userinfo – User profile with roles and account age

It uses discord.js v14, auto‑loads commands and events, and follows the same architecture pattern used by bots serving thousands of servers.

Installation

git clone https://github.com/nexicturbo/discord-bot-starter-lite.git
cd discord-bot-starter-lite
npm install
# Add your token to .env
node deploy-commands.js
node index.js

That’s it—working bot in under 5 minutes.

GitHub: https://github.com/nexicturbo/discord-bot-starter-lite

Full Production‑Ready Kit

If you need more features (moderation tools, polls, reminders, deploy guides), the full kit includes:

  • 10 slash commands: kick, ban, mute, clear, avatar, poll, remind, etc.
  • Permission utilities with role‑hierarchy validation
  • Auto‑loading architecture – just drop files in folders
  • Deploy guides for Railway, Render, VPS, Docker
  • MIT licensed – use for client work, communities, or bots you sell

👉 Get the Full Kit ($19)https://gumroad.com/l/discord-bot-full-kit

Project Structure

├── index.js              # Bot entry point
├── deploy-commands.js    # Slash command registration
├── commands/             # One file per command
├── events/               # Event handlers
└── .env.example          # No hardcoded secrets

Commands and events auto‑load from their folders. Want to add a new command? Create a file in commands/, restart the bot. Done.

Closing

I’ve built Discord bots for various communities and kept rewriting the same boilerplate every time. The discord.js docs are great but they don’t give you a production‑ready starting point. This kit is that starting point. Clone it, customize it, deploy it.

Happy building! 🤖

Back to Blog

Related posts

Read more »

Show HN: Phage Explorer

I got really interested in biology and genetics a few months ago, just for fun. This was largely inspired by the work of Sydney Brenner, which became the basis...