This templates helps you in creating slash commands from a webserver.
- Install dependencies
npm i -g yarn # if you don't have it already
yarn install
- Copy over
.env.example
into.env
and fill in the variables. - Create any more commands you want.
yarn start
npm i -g pm2
- Follow the first, second and third step above
pm2 start pm2.json
- (recommended)
pm2 dump