This repository contians the source code for the friBot on Mattermost.
- Install Bun (JavaScript runtime-alternative to Node.js)
- Install node modules:
bun install - Copy
.env.exampleto.env, using:cp .env.example .env. - Add the
TOKENin your.env-file. - If deploying to production, change
NODE_ENVin your.env-file to"production" - Start bot using:
bun run start
There is a config file set up, config.ts.