https://github.com/toshirosky/discordjs-v14-handler
Beginner-friendly advanced Discord.js (v14) template, using the latest djs library versions.
https://github.com/toshirosky/discordjs-v14-handler
2025 discord discord-bot discord-js djs djs-v14 node node-js nodejs v14-discord-bot-template
Last synced: 3 months ago
JSON representation
Beginner-friendly advanced Discord.js (v14) template, using the latest djs library versions.
- Host: GitHub
- URL: https://github.com/toshirosky/discordjs-v14-handler
- Owner: ToshiroSky
- License: mit
- Created: 2025-06-21T11:24:34.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-21T11:26:50.000Z (4 months ago)
- Last Synced: 2025-06-21T16:39:07.897Z (4 months ago)
- Topics: 2025, discord, discord-bot, discord-js, djs, djs-v14, node, node-js, nodejs, v14-discord-bot-template
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord.js v14 Bot
A feature-rich Discord bot built with Discord.js v14, featuring command handling, event management, and a web server.
## Features
- 🤖 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## Setup
1. Clone the repository
2. Install dependencies: `npm install`
3. Create a `.env` file with your bot token:
```
DISCORD_TOKEN=your_bot_token_here
BOT_PREFIX=!
PORT=3000
```
4. Run the bot: `node .` or `npm start` or `npm run dev` for development## Commands
- `/ping` - Check bot latency
- `/info` - Show bot information
- `/user [target]` - Get user information
- `/server` - Get server information## File Structure
```
├── 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
```## API Endpoints
- `GET /` - Bot status and statistics
- `GET /health` - Health check endpoint## Bot version requirements:
- Node.js 18.x or 20.x## Notes:
- 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.## Contributing
Feel free to submit issues and enhancement requests!