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

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