No link preview for help

This commit is contained in:
Lonami 2018-09-02 19:34:10 +02:00 committed by GitHub
parent 8d41fe8d75
commit 07ea993178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ async def handler(event):
text += '\n\nYou can suggest new commands [here](https://docs.google.com/'\ text += '\n\nYou can suggest new commands [here](https://docs.google.com/'\
'spreadsheets/d/12yWwixUu_vB426_toLBAiajXxYKvR2J1DD6yZtQz9l4/edit).' 'spreadsheets/d/12yWwixUu_vB426_toLBAiajXxYKvR2J1DD6yZtQz9l4/edit).'
message = await event.respond(text) message = await event.respond(text, link_preview=False)
await asyncio.sleep(1 * text.count(' ')) # Sleep ~1 second per word await asyncio.sleep(1 * text.count(' ')) # Sleep ~1 second per word
await message.delete() await message.delete()