diff --git a/Dockerfile b/Dockerfile index f1ec1df..a433e79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,6 @@ FROM python:3.10-alpine ENV BOT_TOKEN 0 -RUN mkdir -p /app - -VOLUME [ "/app/data" ] - COPY . . RUN pip install -r requirements.txt diff --git a/main.py b/main.py index e998446..0bf100e 100644 --- a/main.py +++ b/main.py @@ -44,7 +44,7 @@ def freegame_command(message, bot=bot): #Command /subscribe @bot.message_handler(commands=['subscribe']) def subscribe(message, bot=bot, collection_game=collection_game, OBJECTID_idlist=OBJECTID_idlist): - command_subscribe.subscribe_command(message, bot, collection_game) + command_subscribe.subscribe_command(message, bot, collection_game, OBJECTID_idlist) def event_game(collection_game=collection_game, collection_id=collection_id, bot=bot, OBJECTID_idlist=OBJECTID_idlist, OBJECTID_game1=OBJECTID_game1, OBJECTID_game2=OBJECTID_game2): check_game.a(collection_game, collection_id, bot, OBJECTID_idlist, OBJECTID_game1, OBJECTID_game2)