Guild bot is part of the Guild project. The purpose of this bot is to provide security for guilds by managing users.
Install the dependencies:
npm install
# or
yarn install
Create a new file called .env and add the following environment variables:
BACKEND_URL=https://api.agora.space
PORT=8990
DISCORD_TOKEN=KJlrEsMLydUXvJaaSRZDSmvD.pLQtsV.FJUJliPzZjgPhujkuhkOiBroWBk
PREFIX="!"
EMBED_COLOR=6366f1
REDIS_HOST=redis://@redis-discord:6380
Create another file called redis.env:
ALLOW_EMPTY_PASSWORD=no
REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
REDIS_PASSWORD=
REDIS_PORT_NUMBER=6380
Run the bot:
# for development:
npm run dev
# or
yarn dev
# for production:
npm run build && npm run prod
# or
yarn build && yarn prod
# inside a Docker container
docker-compose up --build
For the full, comprehensive documentation on how to add Medousa to your group and how to customize her to suit your needs read the markdown documents in the docs folder.
Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.