errors¶ errors ¶ 类: 名称 描述 UserFriendlyError UserFriendlyError ¶ Bases: KotonebotError 方法: 名称 描述 invoke 执行指定 ID 的 action。 属性: 名称 类型 描述 action_buttons list[tuple[int, str]] 以 (id: int, btn_text: str) 的形式返回所有按钮定义。 action_buttons property ¶ action_buttons: list[tuple[int, str]] 以 (id: int, btn_text: str) 的形式返回所有按钮定义。 invoke ¶ invoke(action_id: int) 执行指定 ID 的 action。