Skip to content

Commit 50a128b

Browse files
committed
fix: add missing space in permission error message
1 parent 6d3a4a8 commit 50a128b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

astrbot/core/computer/tools/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def check_admin_permission(
1313
if require_admin and context.context.event.role != "admin":
1414
return (
1515
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."
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. "
1717
f"User's ID is: {context.context.event.get_sender_id()}. User's ID can be found by using /sid command."
1818
)
1919
return None

0 commit comments

Comments
 (0)