forked from kate/uniborg
shitpost harder
This commit is contained in:
parent
c19c70291c
commit
608aea3e5b
|
@ -0,0 +1,10 @@
|
|||
import asyncio
|
||||
from telethon import events
|
||||
from telethon.tl import types
|
||||
import re
|
||||
|
||||
@borg.on(events.NewMessage(pattern=re.compile(r"^bar$"), chats=1040270887))
|
||||
async def on_bar(event):
|
||||
if event.from_id == 151462131:
|
||||
return
|
||||
await event.reply("foo")
|
Loading…
Reference in New Issue