Uses of Interface
dev.sympho.modular_commands.api.permission.Group
Packages that use Group
Package
Description
APIs related to defining a command.
Interfaces that represent the invocation context of a command.
Interfaces defining the result of handling an invoked command.
API for permission management.
Runtime system for executing commands defined through the API.
Collection of classes that provide assorted utilies for ease of use.
-
Uses of Group in dev.sympho.modular_commands.api.command
Fields in dev.sympho.modular_commands.api.command declared as GroupModifier and TypeFieldDescriptionstatic final GroupCommand.DEFAULT_GROUPDefault forCommand.requiredGroup()(Groups.EVERYONE).Methods in dev.sympho.modular_commands.api.command that return GroupModifier and TypeMethodDescriptiondefault GroupCommand.requiredGroup()The group that a user must have access for in order to invoke this command. -
Uses of Group in dev.sympho.modular_commands.api.command.context
Methods in dev.sympho.modular_commands.api.command.context with parameters of type GroupModifier and TypeMethodDescriptionDetermines whether the given user belongs to the given group in the context of this invocation (guild and channel).Determines whether the given user belongs to the given group in the context of this invocation (guild and channel). -
Uses of Group in dev.sympho.modular_commands.api.command.result
Methods in dev.sympho.modular_commands.api.command.result that return GroupModifier and TypeMethodDescriptionUserNotAllowed.required()Returns the value of therequiredrecord component.Constructors in dev.sympho.modular_commands.api.command.result with parameters of type GroupModifierConstructorDescriptionUserNotAllowed(Group required) Creates an instance of aUserNotAllowedrecord class. -
Uses of Group in dev.sympho.modular_commands.api.permission
Subinterfaces of Group in dev.sympho.modular_commands.api.permissionMethods in dev.sympho.modular_commands.api.permission that return GroupModifier and TypeMethodDescriptionstatic GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.static GroupGroups.hasChannelPermissions(discord4j.rest.util.PermissionSet permissions) Creates a group defined as all users that have the given permissions in the channel.static GroupGroups.hasChannelPermissions(Supplier<discord4j.rest.util.PermissionSet> permissions) Creates a group defined as all users that have the given permissions in the channel.static GroupGroups.hasChannelPermissions(Mono<discord4j.rest.util.PermissionSet> permissions) Creates a group defined as all users that have the given permissions in the channel.static GroupGroups.hasGuildPermissions(discord4j.rest.util.PermissionSet permissions) Creates a group defined as all users that have the given permissions in the guild.static GroupGroups.hasGuildPermissions(Supplier<discord4j.rest.util.PermissionSet> permissions) Creates a group defined as all users that have the given permissions in the guild.static GroupGroups.hasGuildPermissions(Mono<discord4j.rest.util.PermissionSet> permissions) Creates a group defined as all users that have the given permissions in the guild.static GroupCreates a group defined as all users that have the given role.static GroupCreates a group defined as all users that have the given role.static GroupCreates a group defined as all users that have the given role.static GroupGroups.hasRolesAll(Snowflake... roles) Creates a group defined as all users that have all of the given roles.static GroupGroups.hasRolesAll(Collection<Snowflake> roles) Creates a group defined as all users that have all of the given roles.static GroupGroups.hasRolesAll(Supplier<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have all of the given roles.static GroupGroups.hasRolesAll(Flux<Snowflake> roles) Creates a group defined as all users that have all of the given roles.static GroupGroups.hasRolesAll(Mono<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have all of the given roles.static GroupGroups.hasRolesAny(Snowflake... roles) Creates a group defined as all users that have any of the given roles.static GroupGroups.hasRolesAny(Collection<Snowflake> roles) Creates a group defined as all users that have any of the given roles.static GroupGroups.hasRolesAny(Supplier<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have any of the given roles.static GroupGroups.hasRolesAny(Flux<Snowflake> roles) Creates a group defined as all users that have any of the given roles.static GroupGroups.hasRolesAny(Mono<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have any of the given roles.static GroupGroups.inWhitelist(Snowflake... users) Creates a group composed of a set of users.static GroupGroups.inWhitelist(Collection<Snowflake> users) Creates a group composed of a set of users.static GroupGroups.inWhitelist(Supplier<? extends Collection<Snowflake>> users) Creates a group composed of a set of users.static GroupGroups.inWhitelist(Flux<Snowflake> users) Creates a group composed of a set of users.static GroupGroups.inWhitelist(Mono<? extends Collection<Snowflake>> users) Creates a group composed of a set of users.static GroupCreates a group composed of a single user.static GroupCreates a group composed of a single user.static GroupCreates a group composed of a single user.static GroupDecorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.static GroupDecorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.static GroupDecorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.Methods in dev.sympho.modular_commands.api.permission with parameters of type GroupModifier and TypeMethodDescriptionstatic GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.Determines whether the invoking user in the current execution context (guild and channel) has access equivalent to the given group.static NamedGroupAdds a name to an existing group.static GroupDecorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.static GroupDecorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.static GroupDecorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.default Mono<CommandResult>Determines whether the invoking user in the current execution context (guild and channel) has access equivalent to the given group, otherwise generating an appropriate result.Method parameters in dev.sympho.modular_commands.api.permission with type arguments of type GroupModifier and TypeMethodDescriptionstatic GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of all of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.static GroupComposes multiple groups into a single group where a user is only a member if they are a member of any of the given groups. -
Uses of Group in dev.sympho.modular_commands.execute
Methods in dev.sympho.modular_commands.execute that return types with arguments of type GroupModifier and TypeMethodDescriptionInvocationUtils.accumulateGroups(List<? extends Command<?>> chain) Determines the total set of groups required for an execution chain.Methods in dev.sympho.modular_commands.execute with parameters of type GroupModifier and TypeMethodDescriptionstatic AccessManagerAccessManager.overridable(Group 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 Group in dev.sympho.modular_commands.utils
Methods in dev.sympho.modular_commands.utils with parameters of type GroupModifier and TypeMethodDescriptionstatic voidCommandUtils.validateGroup(Group group) Validates the required group of a command.