bug fix, reduce Stan speak chance, remove holidays

This commit is contained in:
Rykov7
2022-12-24 02:01:38 +03:00
parent 1109f84537
commit 34367388f9
3 changed files with 7 additions and 11 deletions
+4 -5
View File
@@ -4,20 +4,19 @@ import logging
from telebot import TeleBot, logger
from dotenv import load_dotenv
logging.basicConfig(level=logging.INFO, format='%(message)s')
logging.warning('>>> PYBOT STARTED!')
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(message)s', datefmt='%Y.%m.%d %H:%M:%S')
logging.critical('STAN STARTED!')
logger.setLevel(logging.INFO)
load_dotenv()
TOKEN = os.environ.get('LUTZPYBOT', 'Token not in ENVIRON')
bot = TeleBot(TOKEN, 'HTML', disable_web_page_preview=True, allow_sending_without_reply=True,
num_threads=3, colorful_logs=True)
colorful_logs=True)
DATA = 'data/chat'
ADMIN_ID = 280887861 # Rykov7
ADMIN_ID = 280887861 # Rykov7
PYTHONCHATRU = -1001338616632 # pythonchatru
URL_RX = re.compile(r'\w+\.\w+/\w+')