This is a lightweight boilerplate for Discord.js v14 (dev) in Typescript.
- Type definitions for SlashCommands and EventHandlers
- 2 basic events ('ready', 'interactionCreate')
- 3 basic commands (
/ping
,/info
,/help
) - Pretty-formatted logging with levels via pino
- Install the prerequisites, including a package manager of your choice (this guide uses npm)
- Edit .env file and change any intents in config/GatewayIntents.json
- Run the bot with
npm run bot
To run the bot in development watch mode (restart on every change), use npm run watch