raito.plugins.commands.registration module¶
- async raito.plugins.commands.registration.register_bot_commands(role_manager, bot, handlers, locales)[исходный код]¶
Register localized bot commands across roles and user scopes.
- Параметры:
role_manager (RoleManager) – RoleManager instance
bot (Bot) – Aiogram Bot instance
handlers (list[HandlerObject]) – List of message handler objects
locales (list[str]) – List of supported locales (e.g., «en», «ru»)
- Тип результата:
None