Caution
It's early days for the Fluxer version of Jerbot. Features will be missing for now, and the instructions below won't work!
Jerbot is a generic, extensible, modular multi-purpose Fluxer bot.
Jerbot's flexible configuration system allows for hot-toggling of features (or subfeatures, barring some edge cases!) for every server it's deployed on. There are no global commands- everything is done on a server by server basis.
git clone the repository, then
- Copy
config.sample.yamltoconfig.yaml. - Tweak the
config.yamlto your liking. Make sure your bot's token is correct, and that, if you plan to use any third party submodules, make sure the folder is added toplugin_folders. - In
server_configs, copyserver_config.sample.yamlto(guild id).yaml, where(guild id)is the ID of a guild you are going to deploy the bot in. Every guild the bot is in will need its own config. - Tweak every planned server config to your liking.
If you haven't used Docker or Docker Compose before, you'll need to install it. I highly recommend checking it out- it makes running this stuff much easier!
- Optionally, uncomment the commented out plugins line in
docker-compose.yml. This means that if the only changes in a commit are to plugins instead of the main bot, the plugins can simply be reloaded in place instead of requiring a container restart. - Initialize the bot with
docker compose up.
- Build the bot with
docker build --tag jerbot. - Then, run the bot. There's a few bind mounts you'll need to make.
docker run \
-v "/full/path/to/your/config.yaml":/jerbot/config/yaml \
-v "/full/path/to/your/server_configs":/jerbot/server_configs \
-v "/full/path/to/your/db_folder":/jerbot/db \
jerbotA minimum of Python 3.10 is required. I have not tested the bot on any later versions.
These instructions are for Linux, but should work for macOS as well. I have not tested Windows, but the only difference should be the activating the virtualenv.
git clone the repository, then:
- (Optional, highly recommended) Create a virtualenv:
python3 -m virtualenv venv
source venv/bin/activate- Run the bot:
python3 main.py