We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3a4a8 commit 50a128bCopy full SHA for 50a128b
1 file changed
astrbot/core/computer/tools/permissions.py
@@ -13,7 +13,7 @@ def check_admin_permission(
13
if require_admin and context.context.event.role != "admin":
14
return (
15
f"error: Permission denied. {operation_name} is only allowed for admin users. "
16
- "Tell user to set admins in `AstrBot WebUI -> Config -> General Config` by adding their user ID to the admins list if they need this feature."
+ "Tell user to set admins in `AstrBot WebUI -> Config -> General Config` by adding their user ID to the admins list if they need this feature. "
17
f"User's ID is: {context.context.event.get_sender_id()}. User's ID can be found by using /sid command."
18
)
19
return None
0 commit comments