diff --git a/worker/src/bot.py b/worker/src/bot.py index a7fe794..ab74b5d 100644 --- a/worker/src/bot.py +++ b/worker/src/bot.py @@ -225,8 +225,8 @@ async def _refresh_kw_card(bot, chat_id: int, message_id: int, kw_id_full: str): async def setup_global_commands(app: Application) -> None: """Call this from main() after building the app to register bot commands.""" await app.bot.set_my_commands([ - {"command": "start", "description": "Open main menu"}, - {"command": "admin", "description": "Admin panel (admins only)"}, + ("start", "Open main menu"), + ("admin", "Admin panel (admins only)"), ])