A TypeScript bot for Discord.
git clone https://github.com/TKLProjects/tsbot
npm i
- Create a file in
/src
calledConfig.ts
and populate it with the contents ofConfig.ts.example
. Enter your token in thetoken
var. npm start
- If you want to compile and run manually, do the following:
In the main dir:
tsc
cd dist
, thennode Bot.js
- If you want to compile and run manually, do the following:
In the main dir: