This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
moderator-bot/utils/default_commands.py

7 lines
192 B
Python
Raw Normal View History

2022-08-07 04:45:35 -04:00
async def set_default_commands(dp):
from load import types
await dp.bot.set_my_commands([
types.BotCommand("start","Start bot"),
types.BotCommand("help","Help")
])