1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

There you go (#75)

This commit is contained in:
Steffo 2019-07-21 20:59:50 +02:00
parent 0bf9c4ecd0
commit 2ecd1bc32f

View file

@ -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: