17 lines
519 B
Markdown
17 lines
519 B
Markdown
# discordjs-template
|
|
|
|
## running
|
|
|
|
| File | Description | Notes |
|
|
| - | - | - |
|
|
| `scripts/(os)/install` | installs the bot | must be ran again if you change the bot token |
|
|
| `scripts/(os)/start` | starts the bot | includes a watchdog (so it automatically restarts if it crashes) |
|
|
|
|
## dev
|
|
|
|
| Command | Description |
|
|
| - | - |
|
|
| `npm run build` | builds the bot and registers the commands |
|
|
| `npm run start` | starts the bot |
|
|
| `npm run dev` OR `npm run watch` | watches for changes, then builds and starts the bot |
|