A template for discord.js v14 bots with dashboard.
- Clone the repository
git clone https://github.com/Custyy/discord.js-v14-dashboard-template.git
- Install NPM packages
npm install
- Start the bot with the following command
npm run start
- Go the dashboard
http://localhost:3000
module.exports = {
client: {
token: '',
id: '',
clientSecret: ''
},
database: {
url: 'mongodb://localhost:27017',
options: {
useNewUrlParser: true,
useUnifiedTopology: true,
}
},
dashboard: {
url: 'http://localhost',
port: 3000,
isCustomDomain: false
},
}
- Node.js: v20.11.1 or higher
- Discord.js: v14.15.3 or higher