This repository is a template for make a custom discord bot written in TypeScript.
- 1 : Download this repository and extract the file in a folder
- 2 : Copy the
.env.exampleand rename it.envor simply rename it - 3 : Run this command
npm install - 4 : In the
.envreplaceYOURTOKEN123by your token (line 1) - 5 : Launch your bot with this command
npm run start
Go into the folder named src and change the index.ts file or create another file.
If you create another file, dont forget to load it in your main class.