Skip to content

Commit 8f845d9

Browse files
committed
fix wording in CheckHierarchy attr for trying to moderate an Admin
1 parent 1a508c9 commit 8f845d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bot/Systems/Commands/Text/Attributes/Checks/CheckHierarchyAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public override ValueTask<CheckResult> CheckAsync(object argument, CommandContex
1616
}
1717

1818
return ctx.IsAdmin(u)
19-
? CheckResult.Failed("Cannot ban someone with the configured Admin role.")
19+
? CheckResult.Failed("Cannot act on someone with the configured Admin role.")
2020
: ctx.User.Hierarchy > u.Hierarchy
2121
? CheckResult.Successful
2222
: CheckResult.Failed("Cannot act on someone in a higher, or equal, hierarchy position than yourself.");

0 commit comments

Comments
 (0)