Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mezotv/discord-bot-template
This template provides boilerplate code for Discord.js v14. Ready for slash command and everything you need to start out with your bot!
https://github.com/mezotv/discord-bot-template
boilerplate bot discord discord-bot discord-bot-template discord-js discord-template discordbot discordbots discordjs discordjs-v13 discordjs-v14 hacktoberfest nodejs
Last synced: 25 days ago
JSON representation
This template provides boilerplate code for Discord.js v14. Ready for slash command and everything you need to start out with your bot!
- Host: GitHub
- URL: https://github.com/mezotv/discord-bot-template
- Owner: mezotv
- License: mit
- Created: 2022-04-29T10:41:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T08:37:50.000Z (3 months ago)
- Last Synced: 2025-01-01T06:50:20.644Z (about 1 month ago)
- Topics: boilerplate, bot, discord, discord-bot, discord-bot-template, discord-js, discord-template, discordbot, discordbots, discordjs, discordjs-v13, discordjs-v14, hacktoberfest, nodejs
- Language: JavaScript
- Homepage:
- Size: 249 KB
- Stars: 60
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Discord Bot Template
This template provides boilerplate code for Discord.js v14. Ready for slash command and everything you need to start out with your bot!
## Deployment
To use this bot follow the steps given down below.
1. Press the big green "Use this template" button at the top of the repo.
![UseTemplate](https://cdn.discordapp.com/attachments/926292185748496446/979030135854477322/unknown.png)2. Download your freshly created repo with the template code in it.
We recommend using github desktop for this
![CloneRepo](https://cdn.discordapp.com/attachments/926292185748496446/979031472000344124/unknown.png)3. Open the Files in vscode and create a .env file based on the template given below
```bash
TOKEN=
GUILD_ID=
STATUS=DEVELOPMENT
STATUSBOT=
DISCORDSTATUS=dnd
```
4. One you filled out the .env variables open a terminal and run the following commandsRunning the bot in test mode:
```bash
npm run test
```Running the bot in normal mode:
```bash
npm run start
```## Features
- Works with discord.js v14
- Example Commands & Buttons
- Slash command ready
- Clean file structure
- Fast and secure## Message from the creator
If you use this template in your bot make sure to add me on Discord [dominikdev](https://discord.com/users/347077478726238228)
I would love to check them out!