mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-03 03:30:09 +03:00
Update assistant.py
This commit is contained in:
parent
70a683c06e
commit
391c00a0eb
|
@ -269,7 +269,7 @@ async def handler(event):
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@bot.on(events.NewMessage(pattern='(?i)[/#](list|help)', forwards=False))
|
@bot.on(events.NewMessage(pattern='(?i)[/#](list|help|start)', forwards=False))
|
||||||
async def handler(event):
|
async def handler(event):
|
||||||
text = 'Available commands:\n'
|
text = 'Available commands:\n'
|
||||||
for callback, handler in bot.list_event_handlers():
|
for callback, handler in bot.list_event_handlers():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user