From 5d27a6d9114d70cdc5f7d9e7ed1f89145f3b2922 Mon Sep 17 00:00:00 2001 From: blank X Date: Thu, 11 Feb 2021 18:26:28 +0700 Subject: [PATCH] Disable link preview --- rias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rias.py b/rias.py index 085d6d1..8d523c3 100644 --- a/rias.py +++ b/rias.py @@ -108,7 +108,7 @@ async def main(): @client.on(events.NewMessage(pattern=f'(?i)/start(?:@{me.username})?(?:\\s|$)', func=lambda e: e.is_private)) async def start(e): - await e.reply('Welcome to blankie contact bot!\n\nSource: https://gitlab.com/blankX/rias') + await e.reply('Welcome to blankie contact bot!\n\nSource: https://gitlab.com/blankX/rias', link_preview=False) raise events.StopPropagation @client.on(events.NewMessage(func=lambda e: e.is_private))