Make sure that the redis server is up and running before starting the bot, otherwise it'll halt on
The application did not respond
.
sudo apt install libssl-dev libudev-dev pkg-config
-
remember to fill the
OPENAI_KEY
andDISCORD_TOKEN
variables with your credentials inside the.env
file. -
with this link we can add the bot to discord servers.
get token from here
-
show the sysinfo and servers status
-
channel messages summerization using chat GPT
-
configured with 10 shards by default also we're using redis to manage the shared state like rate limits data between clusters.
Make sure that you've ran the
scripts/setup.sh
already, so the tokens can be accessible from.env
.
cd /$USER/gem/infra
sudo docker build -t catchybit -f Dockerfile . --no-cache
sudo docker run -d --link redis --network gem --name catchybit -v $(pwd)/infra/data/catchybit-logs/:/usr/src/app/logs/ catchybit