Ever wanted a discord bot that could do everything you wanted but it just can do what it is made for and nothing more ?
Project Heimdall makes use of the discord.py library to dynamically load command manager scripts and have future proof and strechable solution for a discord bot.
- Bot token - Have a discord bot setuped in the development portal and your server
- Python3 installed - Only for direct running the programm
Deploy single container with docker
docker run -e DISCORD_TOKEN=yourTokenHere -v data:/home/bot/workdir/data:rw -v commands:/home/bot/workdir/commands:rw ghcr.io/sirquacksalot/heimdalldbot:latestDeploy with Docker compose in a stack
services:
bot:
build:
context: .
dockerfile: Dockerfile
container_name: hsmw-mobil-heimdall
environment:
- DISCORD_TOKEN=${DISCORD_TOKEN}
volumes:
- "data:/home/bot/workdir/data:rw"
- "commands:/home/bot/workdir/commands:rw"
volumes:
data:
commands:Clone the repo
git clone git@github.com:SirQuacksALot/py.discord.autochannel.gitCreate a .env file by copying the example.env
cp example.env .envChange the bot TOKEN in the newly created .env to your token.
Run the program
python3 ./main.py