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. |
Comprehensive error tracking with console and Discord channel logging. |
Track command usage with formatted embeds sent to your designated channel. |
Well-documented code with TSDoc comments for easy understanding and customization. |
Built with efficiency in mind to handle commands quickly and reliably. |
Dynamic help command with slash command links for intuitive user experience. |
-
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.example
to.env
and fill in your bot's details: -
Install dependencies:
bun install
-
Start the bot:
bun start
Bot Info |
Error Handling |
Command Logging |
Help Command Automatically enables pagination when multiple command categories exist |
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
main
branch
Please ensure your code adheres to the project's coding standards and include tests for new features or bug fixes where applicable. We appreciate detailed descriptions in your Pull Request to help with the review process.
This project is licensed under the MIT License - see the LICENSE file for details.
- 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