A discord bot focused on science commands and fun stuff. No moderation for now.
The following instructions will be for a debian server. (It is recommended that you add yourself to the docker user group to omit sudo for better security)
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
git clone https://github.com/ThatRedKite/thatkitebot.git
cd thatkitebot
sudo docker-compose up
Docker will download all dependencies and start. This can take a while.
After it finishes starting hit ctrl+c
to stop it and wait until it finishes.
nano ./data/init_settings.yml
This will open nano editor where you will see something like this:
discord_token: ''
prefix: ''
tenor_token: ''
The tenor token is optional. discord_token
is the discord bot API token you can get from discord. prefix
is what the bot will use as a command prefix for example +
or ex
or any other string or character. Don't forger to turn on Privileged Gateway Intents
in the discord bot panel (next to the bot API token).
After that is done hit ctrl + x
, y
and enter
. The settings will be saved.
To start the bot from a stopped state (like we have right now).
sudo docker-compose up -d thatkitebot
You will see it print:
Starting redis ... done
Starting thatkitebot ... done
To check the status of the container do sudo docker container ls
you will see 2 containers redis:alpine
and thatkitebot_thatkitebot
that means everything is running.
Now go to the server that you added the bot to and do +help (or whatever command prefix you chose) to see if it's working.
sudo docker-compose stop