upd ansi: add tg
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-11-08 23:31:56 +10:00
parent a742ad0c37
commit 16a083937e

View File

@ -115,7 +115,9 @@ class CallbackModule(CallbackBase):
def send_msg(self, msg):
if self.socks5_uri is not None:
apihelper.proxy = {'https': self.socks5_uri}
print(self.tg_token)
bot = telebot.TeleBot(self.tg_token)
print(bot)
print(self.tg_chat_id)
print(msg)
bot.send_message(self.tg_chat_id, msg, parse_mode='HTML')