A feature-rich Discord bot built with Discord.js v14, featuring command handling, event management, and a web server.
- 🤖 Modern Discord.js v14 implementation
- 📁 Organized file structure with command/event handlers
- 🌐 Built-in Express web server for monitoring
- 🎨 Colorful console logging with Chalk
- ⚡ Slash command support (Soon)
- 🔗 Prefix command support
- 📊 Bot statistics and information commands
- 🔄 Hot-reloading command system
- 🛡️ Error handling and graceful shutdown
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file with your bot token:DISCORD_TOKEN=your_bot_token_here BOT_PREFIX=! PORT=3000
- Run the bot:
node .
ornpm start
ornpm run dev
for development
/ping
- Check bot latency/info
- Show bot information/user [target]
- Get user information/server
- Get server information
├── index.js # Main bot file
│ ├── handlers/
│ │ └── handler.js # Command and event loader
│ ├── commands/
│ │ ├── general/
│ │ │ ├── ping.js
│ │ │ └── info.js
│ │ └── utility/
│ │ ├── user.js
│ │ └── server.js
│ └── events/
│ ├── ready.js
│ ├── interactionCreate.js
│ ├── messageCreate.js
│ ├── guildCreate.js # Feel free to delete it
│ └── guildDelete.js # Feel free to delete it
├── package.json
├── .env
└── README.md # Feel free to delete it
GET /
- Bot status and statisticsGET /health
- Health check endpoint
- Node.js 18.x or 20.x
- This project may not work properly on platforms like Replit or Glitch. Consider using more reliable hosting services such as Render or Railway.
- Forking this repository is recommended to ensure you receive the latest updates, including patches, new features, and ongoing improvements.
Feel free to submit issues and enhancement requests!