Class RequireHierarchyCheck
- Namespace
- DSharpPlus.Commands.ContextChecks.ParameterChecks
- Assembly
- DSharpPlus.Commands.dll
Executes the checks for requiring a hierarchical order between the bot/executor and a parameter.
public sealed class RequireHierarchyCheck : IParameterCheck<RequireHigherBotHierarchyAttribute>, IParameterCheck<RequireHigherUserHierarchyAttribute>, IParameterCheck
- Inheritance
-
objectRequireHierarchyCheck
- Implements
Methods
- ExecuteCheckAsync(RequireHigherBotHierarchyAttribute, ParameterCheckInfo, CommandContext)
Executes the check given the attribute and parameter info.
- ExecuteCheckAsync(RequireHigherUserHierarchyAttribute, ParameterCheckInfo, CommandContext)
Executes the check given the attribute and parameter info.