gerard-botler/README.md

662 B

gerard-botler

discord bot for a friend
this bot uses discord.py

deploy stuff

Clone the repo, and in the root run the container:

docker build -t <name> .
docker run --env BOTLER_TOKEN=<token> <name>

A sample docker-compose looks a little like:

botler:
    image: python:3.12
    build:
      context: ./gerard-botler
      dockerfile: Dockerfile
    environment:
      - BOTLER_TOKEN=< your token here (MANDATORY!!!!) >

Python stuff

Source venv:

source botler/bin/activate

to escape:

deactivate

more on venvs here