You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mari 74f1710722 don't show the party if it's only one member 5 days ago
.idea Base version of motw tracker 4 weeks ago
data Add Dockerfile, party command 5 days ago
src don't show the party if it's only one member 5 days ago
.dockerignore Add Dockerfile, party command 5 days ago
.editorconfig Base version of motw tracker 4 weeks ago
.eslintrc.cjs Add Dockerfile, party command 5 days ago
.gitignore add font support 5 days ago
.prettierrc Base version of motw tracker 4 weeks ago
Dockerfile clean up clumsy attempt to install Fira Sans 5 days ago
README.md Base version of motw tracker 4 weeks ago
app.json Base version of motw tracker 4 weeks ago
package-lock.json Add Dockerfile, party command 5 days ago
package.json Add Dockerfile, party command 5 days ago
pm2.json Base version of motw tracker 4 weeks ago
slash-up.config.js Base version of motw tracker 4 weeks ago
tsconfig.json Base version of motw tracker 4 weeks ago

README.md

slash-create-template in TypeScript

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

Deploy Deploy on Railway

Installation

npx slash-up init typescript slash-commands
cd slash-commands
# edit variables in the ".env" file!
# Create and edit commands in the `commands` folder
npx slash-up sync
yarn build
yarn start

From Railway/Heroku

For Railway and Heroku users, you must sync commands locally to push any command changes to Discord. You can do this by using slash-up sync within your Git repository.

Heroku users will have their commands synced when they initially deploy to Heroku.

Using PM2

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