Uses of Interface
dev.sympho.bot_utils.access.AccessManager
Packages that use AccessManager
Package
Description
API for managing access to features.
Utilities for using Discord components.
-
Uses of AccessManager in dev.sympho.bot_utils.access
Methods in dev.sympho.bot_utils.access that return AccessManagerModifier and TypeMethodDescriptionstatic AccessManagerAccessManager.alwaysAllow()Creates a manager for which all validators always allow access.static AccessManagerAccessManager.alwaysDeny()Creates a manager for which all validators always deny access.static AccessManagerAccessManager.basic()Creates a manager that issues validators that perform simple group memebership checks (that is, a user has equivalent access to a group if and only if they belong to that group).static AccessManagerAccessManager.overridable(Group overrideGroup) Creates a manager that issues validators that generally perform group membership checks, but also allows a given group to override any permission in the system (that is, users that are members of the given group have equivalent permissions to any other group). -
Uses of AccessManager in dev.sympho.bot_utils.component
Methods in dev.sympho.bot_utils.component with parameters of type AccessManagerModifier and TypeMethodDescriptionprotected ButtonManager.ButtonContextButtonManager.makeContext(ButtonInteractionEvent event, AccessManager accessManager) protected abstract CComponentManager.makeContext(E event, AccessManager access) Creates the interaction context.protected ModalManager.ModalContextModalManager.makeContext(ModalSubmitInteractionEvent event, AccessManager accessManager) Constructors in dev.sympho.bot_utils.component with parameters of type AccessManagerModifierConstructorDescriptionButtonManager(GatewayDiscordClient client, AccessManager accessManager) Creates a new manager that receives interactions from the given client.protectedComponentContext(E event, AccessManager accessManager) Creates a new instance.ComponentManager(GatewayDiscordClient client, AccessManager accessManager) Creates a new manager that receives interactions from the given client.ModalManager(GatewayDiscordClient client, AccessManager accessManager) Creates a new manager that receives interactions from the given client.