2.2 Мелкие улучшения и аннотации файлы

This commit is contained in:
Verum
2025-03-16 02:49:45 +07:00
parent c448a38918
commit d10e1b4834
17 changed files with 29 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ secret_keywords = ["setcommands", "setcommand", "ыуесщььфтвы", "ыу
@router.message(
#F.from_user.id.func(lambda user_id: str(user_id) in DataID.important.keys()),
F.text.lower().in_(secret_keywords))
async def set_commands():
async def set_commands() -> None:
bot_commands = [
types.BotCommand(command=start_cmd.name, description=start_cmd.description),
types.BotCommand(command=help_cmd.name, description=help_cmd.description),