The next level bot stuff.
// Run TS files for development
npm run dev
// Build project into JS
npm run build
// Start the built project
npm run start
// Build and start the project
npm run prd
Set environment variable
BOT_TOKEN
with the Discord bot token as value.
Or put the variable in a
.env
file in root folder.
Install NodeJS 8
Install by NodeJS:
npm install -g ts-node tslint typescript
npm install