Uses of Interface
dev.sympho.modular_commands.api.permission.GuildGroup
Packages that use GuildGroup
-
Uses of GuildGroup in dev.sympho.modular_commands.api.permission
Subinterfaces of GuildGroup in dev.sympho.modular_commands.api.permissionModifier and TypeInterfaceDescriptioninterfaceA guild group that also has a name.Methods in dev.sympho.modular_commands.api.permission that return GuildGroupModifier and TypeMethodDescriptionstatic GuildGroupGroups.all(GuildGroup... groups) Composes 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 GuildGroupGroups.allGuild(GuildGroup... groups) Composes 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 GuildGroupGroups.allGuild(Iterable<GuildGroup> groups) Composes 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 GuildGroupGroups.allGuild(Stream<GuildGroup> groups) Composes 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 GuildGroupGroups.allGuild(Flux<GuildGroup> groups) Composes 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 GuildGroupGroups.any(GuildGroup... groups) Composes 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 GuildGroupGroups.anyGuild(GuildGroup... groups) Composes 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 GuildGroupGroups.anyGuild(Iterable<GuildGroup> groups) Composes 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 GuildGroupGroups.anyGuild(Stream<GuildGroup> groups) Composes 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 GuildGroupGroups.anyGuild(Flux<GuildGroup> groups) Composes 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 GuildGroupGroups.hasGuildPermissions(discord4j.rest.util.PermissionSet permissions) Creates a group defined as all users that have the given permissions in the guild.static GuildGroupGroups.hasGuildPermissions(Supplier<discord4j.rest.util.PermissionSet> permissions) Creates a group defined as all users that have the given permissions in the guild.static GuildGroupGroups.hasGuildPermissions(Mono<discord4j.rest.util.PermissionSet> permissions) Creates a group defined as all users that have the given permissions in the guild.static GuildGroupCreates a group defined as all users that have the given role.static GuildGroupCreates a group defined as all users that have the given role.static GuildGroupCreates a group defined as all users that have the given role.static GuildGroupGroups.hasRolesAll(Snowflake... roles) Creates a group defined as all users that have all of the given roles.static GuildGroupGroups.hasRolesAll(Collection<Snowflake> roles) Creates a group defined as all users that have all of the given roles.static GuildGroupGroups.hasRolesAll(Supplier<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have all of the given roles.static GuildGroupGroups.hasRolesAll(Flux<Snowflake> roles) Creates a group defined as all users that have all of the given roles.static GuildGroupGroups.hasRolesAll(Mono<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have all of the given roles.static GuildGroupGroups.hasRolesAny(Snowflake... roles) Creates a group defined as all users that have any of the given roles.static GuildGroupGroups.hasRolesAny(Collection<Snowflake> roles) Creates a group defined as all users that have any of the given roles.static GuildGroupGroups.hasRolesAny(Supplier<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have any of the given roles.static GuildGroupGroups.hasRolesAny(Flux<Snowflake> roles) Creates a group defined as all users that have any of the given roles.static GuildGroupGroups.hasRolesAny(Mono<? extends Collection<Snowflake>> roles) Creates a group defined as all users that have any of the given roles.static GuildGroupGroups.inWhitelist(Snowflake... users) Creates a group composed of a set of users.static GuildGroupGroups.inWhitelist(Collection<Snowflake> users) Creates a group composed of a set of users.static GuildGroupGroups.inWhitelist(Supplier<? extends Collection<Snowflake>> users) Creates a group composed of a set of users.static GuildGroupGroups.inWhitelist(Flux<Snowflake> users) Creates a group composed of a set of users.static GuildGroupGroups.inWhitelist(Mono<? extends Collection<Snowflake>> users) Creates a group composed of a set of users.static GuildGroupCreates a group composed of a single user.static GuildGroupCreates a group composed of a single user.static GuildGroupCreates a group composed of a single user.static GuildGroupGroups.remote(GuildGroup group, Snowflake guild) Decorates 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 GuildGroupGroups.remote(GuildGroup group, Supplier<Snowflake> guild) Decorates 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 GuildGroupGroups.remote(GuildGroup group, Mono<Snowflake> guild) Decorates 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 GuildGroupModifier and TypeMethodDescriptionstatic GuildGroupGroups.all(GuildGroup... groups) Composes 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 GuildGroupGroups.allGuild(GuildGroup... groups) Composes 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 GuildGroupGroups.any(GuildGroup... groups) Composes 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 GuildGroupGroups.anyGuild(GuildGroup... groups) Composes 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 NamedGuildGroupGroups.named(GuildGroup group, String name) Adds a name to an existing group.static GuildGroupGroups.remote(GuildGroup group, Snowflake guild) Decorates 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 GuildGroupGroups.remote(GuildGroup group, Supplier<Snowflake> guild) Decorates 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 GuildGroupGroups.remote(GuildGroup group, Mono<Snowflake> guild) Decorates a group so that membership is always checked in relation to the given guild, rather than the guild where the command was executed in.Method parameters in dev.sympho.modular_commands.api.permission with type arguments of type GuildGroupModifier and TypeMethodDescriptionstatic GuildGroupGroups.allGuild(Iterable<GuildGroup> groups) Composes 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 GuildGroupGroups.allGuild(Stream<GuildGroup> groups) Composes 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 GuildGroupGroups.allGuild(Flux<GuildGroup> groups) Composes 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 GuildGroupGroups.anyGuild(Iterable<GuildGroup> groups) Composes 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 GuildGroupGroups.anyGuild(Stream<GuildGroup> groups) Composes 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 GuildGroupGroups.anyGuild(Flux<GuildGroup> groups) Composes multiple groups into a single group where a user is only a member if they are a member of any of the given groups.