forked from kate/uniborg
fix
This commit is contained in:
parent
4d0198b060
commit
3457db917f
|
@ -4,8 +4,10 @@
|
||||||
|
|
||||||
from telethon import events
|
from telethon import events
|
||||||
|
|
||||||
@borg.on(events.NewMessage(pattern=r".all", outgoing=True))
|
@borg.on(events.NewMessage(pattern=r"\.all", outgoing=True))
|
||||||
async def _(event):
|
async def _(event):
|
||||||
|
if event.forward:
|
||||||
|
return
|
||||||
await event.delete()
|
await event.delete()
|
||||||
mentions = "@all"
|
mentions = "@all"
|
||||||
async for x in borg.iter_participants(await event.input_chat, 100):
|
async for x in borg.iter_participants(await event.input_chat, 100):
|
||||||
|
|
Loading…
Reference in New Issue