refactor(permission_manager): 移除合并冲突标记和未使用的装饰器

清理代码中的合并冲突标记(HEAD和分支标记)并删除未使用的require_admin装饰器函数,以保持代码整洁
This commit is contained in:
2026-01-23 16:57:35 +08:00
parent bc2e2492fc
commit 5342f9f5bd
5 changed files with 76 additions and 20 deletions

View File

@@ -54,4 +54,4 @@ async def handle_group_request(bot: Bot, event: GroupRequestEvent):
)
print(f"[自动同意] 已同意加入群聊 {event.group_id} (邀请人: {event.user_id})")
except Exception as e:
print(f"[自动同意] 同意群聊邀请失败: {e}")
print(f"[自动同意] 同意群聊邀请失败: {e}")