Uses of Interface
dev.sympho.modular_commands.api.command.context.ChannelAccessContext
Packages that use ChannelAccessContext
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 ChannelAccessContext in dev.sympho.modular_commands.api.command.context
Subinterfaces of ChannelAccessContext in dev.sympho.modular_commands.api.command.contextModifier and TypeInterfaceDescriptioninterfaceThe 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 ChannelAccessContextModifier and TypeMethodDescriptiondefault ChannelAccessContextCreates a copy of this context with the user replaced by the given user. -
Uses of ChannelAccessContext in dev.sympho.modular_commands.api.permission
Methods in dev.sympho.modular_commands.api.permission 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) -
Uses of ChannelAccessContext in dev.sympho.modular_commands.execute
Subinterfaces of ChannelAccessContext 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()).Methods in dev.sympho.modular_commands.execute with parameters of type ChannelAccessContextModifier and TypeMethodDescriptionAccessManager.validator(ChannelAccessContext context) Creates an access validator under the given context. -
Uses of ChannelAccessContext in dev.sympho.modular_commands.impl.context
Classes in dev.sympho.modular_commands.impl.context that implement ChannelAccessContextModifier and TypeClassDescriptionfinal classContext object for invocations performed through text messages.