Uses of Interface
dev.sympho.bot_utils.access.ChannelAccessContext
Packages that use ChannelAccessContext
Package
Description
API for managing access to features.
Interfaces for handling user-triggered events in a generalized manner.
-
Uses of ChannelAccessContext in dev.sympho.bot_utils.access
Methods in dev.sympho.bot_utils.access that return ChannelAccessContextModifier and TypeMethodDescriptiondefault ChannelAccessContextCreates a copy of this context with the user replaced by the given user.Methods in dev.sympho.bot_utils.access with parameters of type ChannelAccessContextModifier and TypeMethodDescriptionGroup.belongs(ChannelAccessContext context) Determines whether the user in the given context belongs to this group.Group.belongs(User user, ChannelAccessContext context) Determines whether the given user belongs to this group in the context of the given guild and channel.GuildGroup.belongs(ChannelAccessContext context) default ChannelAccessValidatorAccessManager.validator(ChannelAccessContext context) Creates an access validator under the given context. -
Uses of ChannelAccessContext in dev.sympho.bot_utils.event
Subinterfaces of ChannelAccessContext 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 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 ChannelAccessContextModifier and TypeClassDescriptionclassAbstractChannelEventContext<E extends @NonNull Event>Convenience base for implementing a channel-bound event context.classAbstractRepliableContext<E extends @NonNull Event>Convenience base for implementing an event context with reply functionality.