This commit is contained in:
udf 2018-08-26 23:28:26 +02:00
parent 699ac98b05
commit 73dd73eb24
1 changed files with 8 additions and 0 deletions

8
stdplugins/sp_h.py Normal file
View File

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