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.example
to.env
, using:cp .env.example .env
. - Add the
TOKEN
in your.env
-file. - If deploying to production, change
NODE_ENV
in your.env
-file to"production"
- Start bot using:
bun run start
There is a config file set up, config.ts.