This commit is contained in:
parent
908e006cdb
commit
d089ed821a
@ -115,12 +115,12 @@ 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)
|
# print(self.tg_token)
|
||||||
bot = telebot.TeleBot(self.tg_token)
|
bot = telebot.TeleBot(self.tg_token)
|
||||||
print(bot)
|
# print(bot)
|
||||||
print(self.tg_chat_id)
|
# print(self.tg_chat_id)
|
||||||
print(msg)
|
# print(msg)
|
||||||
bot.send_message(self.tg_chat_id, 'Hi! I\'m a Bot!')
|
# bot.send_message(self.tg_chat_id, 'Hi! I\'m a Bot!')
|
||||||
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user