Disable link preview
This commit is contained in:
parent
8bac49e999
commit
5d27a6d911
2
rias.py
2
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))
|
@client.on(events.NewMessage(pattern=f'(?i)/start(?:@{me.username})?(?:\\s|$)', func=lambda e: e.is_private))
|
||||||
async def start(e):
|
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
|
raise events.StopPropagation
|
||||||
|
|
||||||
@client.on(events.NewMessage(func=lambda e: e.is_private))
|
@client.on(events.NewMessage(func=lambda e: e.is_private))
|
||||||
|
|
Loading…
Reference in New Issue