Fix little bug - Remove mkdir on Dockerfile (because now i only use MongoDB)
This commit is contained in:
parent
18719f4435
commit
af9c683380
|
@ -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
|
||||
|
|
2
main.py
2
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)
|
||||
|
|
Loading…
Reference in New Issue