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

10 lines
272 B
Python

async def set_default_commands(bot):
from load import types
await bot.set_my_commands(
commands=[
types.BotCommand(command="start", description="Start bot"),
types.BotCommand(command="help", description="Help")
]
)