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
Raw Normal View History

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