Patch, named after the SeaGL mascot, is a Matrix bot that assists with running the SeaGL Matrix space.
Install dependencies:
- Node.js, Yarn Classic, and the packages installed via
yarn install
Populate environment variables:
- Matrix Client-Server API:
MATRIX_ACCESS_TOKEN: Secret authentication token (see this Stack Exchange question for how to get one)MATRIX_BASE_URL: Homeserver base URLMATRIX_RATE_LIMIT: Rate limit in hertzISSUE_8895_COOLDOWN: Seconds to wait before room creation (matrix-org/synapse#8895)
- Pretalx:
PRETALX_RATE_LIMIT: Rate limit in hertz
- Sentry:
SENTRY_DSN(Optional): Data Source Name of Sentry project. If unset, error reporting is not enabled.
Build the bot:
yarn buildStart the bot:
yarn start