0.0.6 chat_id is not fixed

This commit is contained in:
2023-04-22 04:17:50 +03:00
parent 6a70d7067a
commit cbe9db4932
7 changed files with 136 additions and 129 deletions

View File

@@ -1,12 +1,8 @@
import os
REDIS_URL = os.environ.get('REDIS_URL') or 'redis://localhost:6379'
WEBHOOK = os.environ.get('VERCEL_URL') or 'http://localhost:8000'
WELCOME_MSG = os.environ.get('WELCOME_MSG') or "Welcome! Press the button or wait for a few others' connections"
BUTTON_OK = os.environ.get('BUTTON_OK') or 'Ok'
REDIS_URL = os.environ.get('REDIS_URL') or 'redis://localhost:6379'
NEWCOMER_MSG = os.environ.get('WELCOME_MSG') or "There is a newcomer, press the button if you are connected"
BUTTON_VOUCH = os.environ.get('BUTTON_VOUCH') or 'My connection!'
BUTTON_NO = os.environ.get('BUTTON_NO') or 'No'
CHAT_ID = os.environ.get('CHAT_ID').replace("-", "-100")
FEEDBACK_CHAT_ID = os.environ.get('FEEDBACK_CHAT_ID').replace("-", "-100")