From 2ecd1bc32fd9dab5910b70a791b7fe02e689305b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 21 Jul 2019 20:59:50 +0200 Subject: [PATCH] There you go (#75) --- royalnet/bots/telegram.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/royalnet/bots/telegram.py b/royalnet/bots/telegram.py index b58c1a2b..2edad75a 100644 --- a/royalnet/bots/telegram.py +++ b/royalnet/bots/telegram.py @@ -41,7 +41,9 @@ class TelegramBot(GenericBot): alchemy = self.alchemy async def reply(call, text: str): - await asyncify(call.channel.send_message, telegram_escape(text), parse_mode="HTML") + await asyncify(call.channel.send_message, telegram_escape(text), + parse_mode="HTML", + disable_web_page_preview=True) async def net_request(call, request: Request, destination: str) -> dict: if self.network is None: