Uses of Interface
dev.sympho.modular_commands.api.command.context.AccessContext
Packages that use AccessContext
Package
Description
Interfaces that represent the invocation context of a command.
API for permission management.
Runtime system for executing commands defined through the API.
Implementations for command contexts.
-
Uses of AccessContext in dev.sympho.modular_commands.api.command.context
Subinterfaces of AccessContext in dev.sympho.modular_commands.api.command.contextModifier and TypeInterfaceDescriptioninterfaceAccess context that is specific to a channel.interfaceThe execution context of an invoked command.interfaceThe execution context of an command invoked through an interaction (application command).interfaceThe execution context of an command invoked through a message.interfaceThe execution context of an command invoked through a slash command.Methods in dev.sympho.modular_commands.api.command.context 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. -
Uses of AccessContext in dev.sympho.modular_commands.api.permission
Methods in dev.sympho.modular_commands.api.permission 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. -
Uses of AccessContext in dev.sympho.modular_commands.execute
Subinterfaces of AccessContext in dev.sympho.modular_commands.executeModifier and TypeInterfaceDescriptioninterfaceA command context that is instrumented for use with metrics and tracing tooling.interfaceA command context whose values (particularly arguments) are lazy-loaded (that is, are not loaded until requested byLazyContext.initialize(ObservationRegistry)andLazyContext.load()). -
Uses of AccessContext in dev.sympho.modular_commands.impl.context
Classes in dev.sympho.modular_commands.impl.context that implement AccessContextModifier and TypeClassDescriptionfinal classContext object for invocations performed through text messages.