A simple boilerplate I use when making Discord bots, utilizing TypeScript and Discord.js
You can edit and use, just credit me somewhere.
- Slash Command Handler
- Event Handler
- Example
/pingcommand
The following example uses yarn, you can use npm if you wish
yarn dev- Starts the bot in development mode (File watching)yarn build- Builds the botyarn start- Starts the bot
I will maintain when I can.
If you wish, you can make pull requests if you want to contribute yourself.