A template for discord.js v14 bots.
- Clone the repository
git clone https://github.com/Custyy/discord.js-v14-bot-template.git
- Install NPM packages
npm install
- Start the bot with the following command
npm run start
module.exports = {
bot: {
prefix: '',
owners: [''],
token: '',
},
database: {
url: '',
options: {
useNewUrlParser: true,
useUnifiedTopology: true,
}
}
}
- Node.js: v20.11.1 or higher
- Discord.js: v14.15.3 or higher