This commit is contained in:
Mikan
2024-09-23 17:06:30 +03:00
commit ab94c3b764
13 changed files with 381 additions and 0 deletions

9
telegram_wrapper.py Normal file
View File

@@ -0,0 +1,9 @@
import telebot
class Bot:
def __init__(self, token, *args, **kwargs):
self.bot = telebot.TeleBot(token, *args, **kwargs)
def polling(self):
self.bot.infinity_polling(interval=0, timeout=20)