CLI
glyria start
Start your bot in production mode.
Usage
npm run start
# or
npx glyria start
What it does
glyria start launches your compiled bot in production mode. It runs dist/index.js with the glyria.js runtime injected automatically.
glyria start requires a compiled build. If dist/index.js is not found, it exits with an error.Always run glyria build before glyria start.Production workflow
# 1. compile
npm run build
# 2. start
npm run start
Difference with dev mode
glyria dev | glyria start | |
|---|---|---|
| Source | src/ (TypeScript) | dist/ (JavaScript) |
| Hot reload | ✅ | ❌ |
| Requires build | ❌ | ✅ |
| Use case | Development | Production |

