forked from kate/uniborg
commit
a923b74c6f
|
@ -1,8 +1,6 @@
|
|||
from telethon import events
|
||||
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):
|
||||
await borg.send_message(await event.get_input_chat(), '',
|
||||
file=types.InputDocument(421851232546587302, -6059663575626880183),
|
||||
reply_to=event.message.id)
|
||||
await borg.reply(file="CAADAQADpgIAAna32gVJ62JcFcDnqwI")
|
||||
|
|
Loading…
Reference in New Issue