This project provides a solid foundation for creating a Discord bot using discordx and discord.js v14, designed with scalability and ease of use in mind.
|
Detailed startup metrics showing users, guilds, commands, and system specs. |
Error tracking with console output and Components V2 cards in a Discord channel. |
|
Track command usage with Components V2 cards sent to your designated channel. |
Efficient sharding system using worker threads for better scalability and performance. |
|
Built with efficiency in mind to handle commands quickly and reliably. |
Category dropdown when multiple command groups exist, with slash command links. |
-
Download the latest release (click on 'Source code (zip)').
-
Extract and move the files to your desired location.
-
Install Bun:
- Mac/Linux:
curl -fsSL https://bun.sh/install | bash - Windows:
powershell -c "irm bun.sh/install.ps1 | iex"
- Mac/Linux:
-
Navigate to your project folder:
cd /path/to/your/extracted/source -
Rename
.env.exampleto.envand fill in your bot's details: -
Install dependencies:
bun install
-
Start the bot:
bun start
For local watch without sharding:
bun run dev
We welcome contributions to improve this template! If you'd like to contribute:
- Fork the repository
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Make your changes and commit them with a clear, descriptive message:
git commit -m 'Add feature: brief description of your changes' - Push your changes to your fork:
git push origin feature/your-feature-name
- Open a Pull Request against the main repository's
mainbranch
Please run bun run lint before opening a Pull Request. We appreciate detailed descriptions to help with the review process.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details. (It's mostly "Share the love, and keep it open!")
- discord.js for the powerful Discord API wrapper
- discordx for the decorator-based command framework
- Bun for the blazing fast JavaScript runtime
- All our contributors and supporters who help improve this template
Got questions or need help? Join our Discord server for support and to connect with other bot developers!
💻 Crafted with ❤️ by Valhalla-Development

