main.py: [community suggestion] disable link previews when sending messages
This commit is contained in:
parent
f213710601
commit
c9271963b2
2
main.py
2
main.py
|
@ -180,7 +180,7 @@ def queue_processor():
|
|||
if mod.version == 1:
|
||||
responce = mod.process(msg)
|
||||
if len(responce) > 0:
|
||||
updater.bot.send_message(chat_id = msg.chat.id, text = responce)
|
||||
updater.bot.send_message(chat_id = msg.chat.id, text = responce, disable_web_page_preview = True)
|
||||
print("Responded using module {} ({}) with text: {}".format(mod.path, mod.alias, responce))
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue