This commit is contained in:
parent
a742ad0c37
commit
16a083937e
@ -115,7 +115,9 @@ class CallbackModule(CallbackBase):
|
|||||||
def send_msg(self, msg):
|
def send_msg(self, msg):
|
||||||
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}
|
||||||
|
print(self.tg_token)
|
||||||
bot = telebot.TeleBot(self.tg_token)
|
bot = telebot.TeleBot(self.tg_token)
|
||||||
|
print(bot)
|
||||||
print(self.tg_chat_id)
|
print(self.tg_chat_id)
|
||||||
print(msg)
|
print(msg)
|
||||||
bot.send_message(self.tg_chat_id, msg, parse_mode='HTML')
|
bot.send_message(self.tg_chat_id, msg, parse_mode='HTML')
|
||||||
|
Loading…
Reference in New Issue
Block a user