jackromo888 / discord-runner

Guild.xyz discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guild bot is part of the Guild project. The purpose of this bot is to provide security for guilds by managing users.

Getting started

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

Documentation

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.

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.

About

Guild.xyz discord bot

License:MIT License


Languages

Language:TypeScript 98.3%Language:Dockerfile 1.6%Language:Shell 0.1%