/bot2

Primary LanguageTypeScript

Toast bot alt text

how to uses

1. clone the repository:

$ git clone https://github.com/js-all/bot2.git

2. install the modules and typescript if nescessary

$ npm i

3. compile the typescript

$ npx tsc -w

4. run it once and exit with ctrl+c

$ npm start

5. edit the conf.json file and put your application token

{
  "prefix": "..",
  "token": "YOUR TOKEN HERE"
}

6. and you'r good to go just run it again and it will work

 $ npm start

conf.json

prefix: the command prefix, token: the bot application token, banMessage: the ban message when a command is banned from a user, newYearChannel: the channel in wich the new year message will be sent, none if none