-
Create the "config.json" file in the /src dir:
{ "token": "", "clientId": "", "guildId": "" }
-
Install the tsc-watch package:
npm i tsc-watch
-
Run the bot:
npm run start
Starting compilation in watch mode...
Found 0 errors. Watching for file changes.
Ready!
Logged in as TicketBot#7602!
npm run reload