fix
This commit is contained in:
parent
fb33edec7d
commit
e55898663d
@ -5,4 +5,4 @@ COPY requirements.txt requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . .
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENTRYPOINT ["python", "main.py"]
|
||||
ENTRYPOINT ["python", "bot.py"]
|
4
bot.py
4
bot.py
@ -120,3 +120,7 @@ class Core(TasksHandlerMixin):
|
||||
self.send_message('🤖 Собеседник найден! Можешь начинать общаться', next_chat['chat_id'])
|
||||
mongo.create_dialog(chat, next_chat['chat_id'])
|
||||
self.set_state('dialog', [chat, next_chat['chat_id']])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
Core().poll()
|
||||
|
Loading…
Reference in New Issue
Block a user