- nodejs
- redis
- pm2
cp config.temle.toml config.toml
Make necessary changes for your environment inside the .toml file
docker-compose build
docker-compose up -d
cd $PROJECT_ROOT
yarn
pm2 start
- Create discord bot - https://discord.com/developers/applications/796385212472229920/bot
- Enter token in config.toml, section
[channel.discord]
- Go to OAuth2 section, check 'Bot' scope, check 'Send messages' permission
- Take OAuth2 url, open it. Pick a server, invite the bot.
- By default, 'faucet' text channel is used, you can change it in config.toml
! Remove Matrix section if you don't use Matrix.