Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 511 Bytes

README.md

File metadata and controls

22 lines (20 loc) · 511 Bytes

slash-create-template

This templates helps you in creating slash commands in TypeScript from a webserver.

Installation

npx degit Snazzah/slash-create-template#typescript slash-commands
cd slash-commands
npm i -g yarn
yarn
cp .env.example .env # this copies the .env file, edit variables in this file!
# Create and edit commands in the `commands` folder
yarn build
yarn start

Using PM2

npm i -g pm2
# Follow the installation process above
pm2 start pm2.json
pm2 dump # recommended