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:28:17 +10:00
parent 662dd67487
commit a742ad0c37

View File

@ -116,6 +116,8 @@ class CallbackModule(CallbackBase):
if self.socks5_uri is not None: if self.socks5_uri is not None:
apihelper.proxy = {'https': self.socks5_uri} apihelper.proxy = {'https': self.socks5_uri}
bot = telebot.TeleBot(self.tg_token) bot = telebot.TeleBot(self.tg_token)
print(self.tg_chat_id)
print(msg)
bot.send_message(self.tg_chat_id, msg, parse_mode='HTML') bot.send_message(self.tg_chat_id, msg, parse_mode='HTML')
def v2_playbook_on_start(self, playbook): def v2_playbook_on_start(self, playbook):