Starts the server from serverDist/index.js
. Run npm run build
first.
Note that you should use npm run dev
for local development.
Builds the node server from the TypeScript files.
- Input directory:
src/
- Output directory:
serverDist/
Watches local files in src/
for changes, recompiles and restarts the server at
http://localhost:3000.
See dev.js
Starts an ngrok tunnel to point to http://localhost:3000. Required for testing WebHooks locally.
Run ngrok config check
to see ngrok settings for npm run ngrok
Registers/updates the Discord bot's dev-
commands from commands.js
.
Registers/updates the Discord bot's commands from command.js
.