All tools / Roles
Role hierarchy check explainer
Check whether a bot can assign roles, kick, ban, time out, or rename a member given role positions, and why it gets 50013.
Result
Strictly below
A bot can only manage roles and members whose highest role sits strictly below its own highest role; equal positions fail. The owner is untouchable, managed roles cannot be assigned by hand, and members with Administrator cannot be timed out. Having the permission is necessary but not enough.
Related: Missing access guide · Channel effective permission resolver