update for multigroup stats without reminders

This commit is contained in:
Rykov7
2022-12-20 10:25:01 +03:00
parent 498b71e166
commit 8af37646cd
6 changed files with 118 additions and 99 deletions
+5 -3
View File
@@ -4,15 +4,17 @@ import logging
from telebot import TeleBot
from dotenv import load_dotenv
logging.basicConfig(level=logging.DEBUG, format='%(message)s')
logging.basicConfig(level=logging.INFO, format='%(message)s')
logging.warning('>>> PYBOT STARTED!')
load_dotenv()
TOKEN = os.environ.get('LUTZPYBOT', 'Token not in ENVIRON')
bot = TeleBot(TOKEN, 'HTML', skip_pending=True, disable_web_page_preview=True, allow_sending_without_reply=True)
bot = TeleBot(TOKEN, 'HTML', disable_web_page_preview=True, allow_sending_without_reply=True)
ADMIN_ID = 280887861 # Rykov7
DATA = 'data/chat'
ADMIN_ID = 280887861 # Rykov7
PYTHONCHATRU = -1001338616632 # pythonchatru
URL_RX = re.compile(r'\w+\.\w+/\w+')