refactor: move everything to an src module

This commit is contained in:
spifory 2026-02-11 16:37:16 +02:00
parent 5c2b1123e8
commit fb429a12ef
No known key found for this signature in database
GPG Key ID: A09D250DB53F8BD7
6 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,6 @@ RUN pip install poetry
COPY . .
RUN poetry install
RUN poetry install --without=dev
ENTRYPOINT ["poetry", "run", "python", "-u", "main.py"]
CMD ["poetry", "run", "python", "-m", "src"]

View File

@ -1,11 +1,11 @@
from classes.bot import MyBot
from src.classes.bot import MyBot
import os
import asyncio
async def main():
bot = MyBot()
bot.load_extensions("plugins")
bot.load_extensions("src/plugins")
await bot.start(os.environ["TOKEN"])
asyncio.run(main())