Refactor bot and use cogs

This commit is contained in:
2024-02-17 22:35:14 +01:00
parent 423fba750f
commit c9848adde6
12 changed files with 249 additions and 174 deletions

View File

@@ -1,6 +1,6 @@
FROM python:3.12-alpine
WORKDIR /app
WORKDIR /src
COPY requirements.txt requirements.txt
RUN /usr/local/bin/python -m pip install --upgrade pip
@@ -12,4 +12,4 @@ COPY ./src/ .
RUN mkdir -p ./data/log
RUN mkdir -p ./data/config
CMD [ "python3.12", "main.py" ]
CMD [ "python3.12", "bot.py" ]