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.
Interfaces for handling user-triggered events in a generalized manner.
-
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(GuildGroup 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 ButtonEventContextButtonManager.makeContext(ButtonInteractionEvent event, AccessManager accessManager) protected abstract CComponentManager.makeContext(E event, AccessManager access) Creates the interaction context.protected ModalEventContextModalManager.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.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. -
Uses of AccessManager in dev.sympho.bot_utils.event
Constructors in dev.sympho.bot_utils.event with parameters of type AccessManagerModifierConstructorDescriptionprotectedAbstractChannelEventContext(E event, AccessManager accessManager) Creates a new instance.protectedAbstractEventContext(E event, AccessManager accessManager) Creates a new instance.protectedAbstractRepliableContext(E event, AccessManager accessManager, ReplyManager replyManager) Creates a new instance.