Skip to content

Commit

Permalink
Move main.py into src
Browse files Browse the repository at this point in the history
  • Loading branch information
raccube committed Aug 6, 2024
1 parent 91c6bec commit 0c9bc11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ WORKDIR /usr/src/app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY main.py .
COPY src/* .

CMD [ "python", "main.py" ]
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import discord
import logging

from .constants import *
from constants import *
from typing import Tuple, AsyncGenerator


Expand Down
2 changes: 1 addition & 1 deletion main.py → src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from discord import Intents
from dotenv import load_dotenv

from src.bot import BotClient
from bot import BotClient

logger = logging.getLogger('srbot')
logger.setLevel(logging.INFO)
Expand Down

0 comments on commit 0c9bc11

Please sign in to comment.