Update assistant.py

This commit is contained in:
SmartManoj 2019-07-15 17:05:06 +05:30 committed by GitHub
parent 70a683c06e
commit 391c00a0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):
text = 'Available commands:\n'
for callback, handler in bot.list_event_handlers():