discord bot for a friend
Go to file
2024-05-30 16:36:32 -04:00
botler set up venv, provided a basic bot to work with, plus necessary deps in requirements.txt. 2024-05-30 15:30:24 -04:00
src set up venv, provided a basic bot to work with, plus necessary deps in requirements.txt. 2024-05-30 15:30:24 -04:00
.gitignore set up venv, provided a basic bot to work with, plus necessary deps in requirements.txt. 2024-05-30 15:30:24 -04:00
Dockerfile added some docker-compose instructions and a lazy fix to python docker closing the script 2024-05-30 16:36:32 -04:00
LICENSE Initial commit 2024-05-30 14:30:25 -04:00
README.md added some docker-compose instructions and a lazy fix to python docker closing the script 2024-05-30 16:36:32 -04:00
requirements.txt set up venv, provided a basic bot to work with, plus necessary deps in requirements.txt. 2024-05-30 15:30:24 -04:00

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