A simple Discord bot template for TypeScript. Featuring slash commands and a logger by default.
- Add your bot
TOKEN
to.env
following the example in.env.example
. - Start the bot using
npm run start
- (optional) When developing the bot, use
npm run dev
to getnodemon
hot reload
You can add commands to the src/commands
directory by creating a file matching cmd.*.ts
.
Use the cmd.ping.ts
file in src/commands/misc
as an guide.