Uses of Interface
dev.sympho.bot_utils.access.AccessContext
Packages that use AccessContext
Package
Description
API for managing access to features.
Interfaces for handling user-triggered events in a generalized manner.
-
Uses of AccessContext in dev.sympho.bot_utils.access
Subinterfaces of AccessContext in dev.sympho.bot_utils.accessModifier and TypeInterfaceDescriptioninterfaceAccess context that is specific to a channel.Methods in dev.sympho.bot_utils.access that return AccessContextModifier and TypeMethodDescriptiondefault AccessContextCreates a copy of this context with the guild replaced by the given guild.default AccessContextCreates a copy of this context with the user replaced by the given user.static AccessContextCreates an access context for the given member, in the guild that the member is from.static AccessContextCreates an access context for the given user in the given guild.Methods in dev.sympho.bot_utils.access with parameters of type AccessContextModifier and TypeMethodDescriptionGuildGroup.belongs(AccessContext context) Determines whether the user in the given context belongs to this group.GuildGroup.belongs(User user, AccessContext context) Determines whether the given user belongs to this group in the context of the given guild and channel.AccessManager.doValidate(AccessContext context, Group group, Supplier<Mono<Boolean>> membershipCheck) Validates that an access is legal.default AccessValidatorAccessManager.validator(AccessContext context) Creates an access validator under the given context. -
Uses of AccessContext in dev.sympho.bot_utils.event
Subinterfaces of AccessContext in dev.sympho.bot_utils.eventModifier and TypeInterfaceDescriptioninterfaceThe context of an application command interaction.interfaceThe context of a button component being pressed by a user.interfaceThe context of an user-triggered event that is bound to a specific channel.interfaceThe context of an event fired by interacting with a message component.interfaceThe context of an interaction-based event that is deferrable.interfaceThe context of an user-triggered event received from Discord.interfaceThe context of an interaction-based event.interfaceThe context of an event that is related to a message.interfaceThe context of a new message being created.interfaceThe context of a message event.interfaceThe context of an event that is related to a message and always includes the message data as part of the event payload.interfaceThe context of a modal component being submitted by a user.interfaceContext for an event that can be replied to.interfaceThe context of a slash command interaction.Classes in dev.sympho.bot_utils.event that implement AccessContextModifier and TypeClassDescriptionclassAbstractChannelEventContext<E extends @NonNull Event>Convenience base for implementing a channel-bound event context.classAbstractEventContext<E extends @NonNull Event>Convenience base for implementing an event context.classAbstractRepliableContext<E extends @NonNull Event>Convenience base for implementing an event context with reply functionality.