Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

42 lines (23 loc) · 1.05 KB

Discord Fishing

Discord Bot installations links

npm scripts

start

Starts the server from serverDist/index.js. Run npm run build first.

Note that you should use npm run dev for local development.

build

Builds the node server from the TypeScript files.

  • Input directory: src/
  • Output directory: serverDist/

dev

Watches local files in src/ for changes, recompiles and restarts the server at http://localhost:3000.

See dev.js

ngrok

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

register

Registers/updates the Discord bot's dev- commands from commands.js.

register-prod

Registers/updates the Discord bot's commands from command.js.