shitpost harder

kate
udf 2018-09-13 23:00:00 +02:00
parent c19c70291c
commit 608aea3e5b
1 changed files with 10 additions and 0 deletions

10
stdplugins/sp_bar.py Normal file
View File

@ -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")