๐Ÿ‘ŸRunning

Almost done!

Want to keep your instance online 24/7?

Use code threadwatcher during checkout for 50% off your first month of Novonode discord bot hosting

Transpiling

Thread-Watcher is written in typescript which means it's quite resilient but also means we need to transpile the code before node is able to run it. You can do this by running npm run build in the command prompt.

Running the bot

Running the bot is a breeze! Simply run npm run start in your command prompt. Do keep in mind that the bot will stop when you close the console. You can fix this by running the script as a PM2 daemon process by running pm2 start npm -- start

Registering slash commands

to register the slash command run npm run start -reg_commands

Removing slash commands

to remove all registered slash commands run npm run start -clear_commands

Last updated