Merge pull request #1 from Qwerty-Space/patch-1

made smol
This commit is contained in:
udf 2018-08-27 00:07:48 +02:00 committed by GitHub
commit a923b74c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,6 @@
from telethon import events from telethon import events
from telethon.tl import types from telethon.tl import types
@borg.on(events.NewMessage(pattern=r"^h$", outgoing=False)) @borg.on(events.NewMessage(pattern="^h$", outgoing=False))
async def on_h(event): async def on_h(event):
await borg.send_message(await event.get_input_chat(), '', await borg.reply(file="CAADAQADpgIAAna32gVJ62JcFcDnqwI")
file=types.InputDocument(421851232546587302, -6059663575626880183),
reply_to=event.message.id)