Uses of Interface
dev.sympho.bot_utils.access.Group

Packages that use Group
Package
Description
Root project package.
API for managing access to features.
Utilities for using Discord components.
  • Uses of Group in dev.sympho.bot_utils

    Methods in dev.sympho.bot_utils with parameters of type Group
    Modifier and Type
    Method
    Description
    PaginationManager.register(String id, @Nullable Group requiredGroup, PaginationManager.PageGenerator generator)
    Registers a paginator.
  • Uses of Group in dev.sympho.bot_utils.access

    Modifier and Type
    Interface
    Description
    interface 
    A group whose membership is defined at the guild level or higher (i.e.
    interface 
    A group that also has a name.
    interface 
    A guild group that also has a name.
    Methods in dev.sympho.bot_utils.access that return Group
    Modifier and Type
    Method
    Description
    static Group
    Groups.all(Group... 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 Group
    Groups.all(Iterable<Group> 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 Group
    Groups.all(Stream<Group> 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 Group
    Groups.all(Flux<Group> 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 Group
    Groups.any(Group... 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 Group
    Groups.any(Iterable<Group> 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 Group
    Groups.any(Stream<Group> 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 Group
    Groups.any(Flux<Group> 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 Group
    Groups.hasChannelPermissions(discord4j.rest.util.PermissionSet permissions)
    Creates a group defined as all users that have the given permissions in the channel.
    static Group
    Groups.hasChannelPermissions(Supplier<discord4j.rest.util.PermissionSet> permissions)
    Creates a group defined as all users that have the given permissions in the channel.
    static Group
    Groups.hasChannelPermissions(Mono<discord4j.rest.util.PermissionSet> permissions)
    Creates a group defined as all users that have the given permissions in the channel.
    Methods in dev.sympho.bot_utils.access with parameters of type Group
    Modifier and Type
    Method
    Description
    static Group
    Groups.all(Group... 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 Group
    Groups.any(Group... 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.
    AccessValidator.hasAccess(Group group)
    Determines whether the invoking user in the current execution context has access equivalent to the given group.
    static NamedGroup
    Groups.named(Group group, String name)
    Adds a name to an existing group.
    AccessManager.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).
    default Mono<?>
    AccessValidator.validate(Group group)
    Determines whether the invoking user in the current execution context has access equivalent to the given group.
    Method parameters in dev.sympho.bot_utils.access with type arguments of type Group
    Modifier and Type
    Method
    Description
    static Group
    Groups.all(Iterable<Group> 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 Group
    Groups.all(Stream<Group> 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 Group
    Groups.all(Flux<Group> 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 Group
    Groups.any(Iterable<Group> 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 Group
    Groups.any(Stream<Group> 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 Group
    Groups.any(Flux<Group> 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.
  • Uses of Group in dev.sympho.bot_utils.component

    Methods in dev.sympho.bot_utils.component that return Group
    Modifier and Type
    Method
    Description
    ButtonManager.Handler.group()
    Returns the value of the group record component.
    Methods in dev.sympho.bot_utils.component with parameters of type Group
    Modifier and Type
    Method
    Description
    ComponentManager.ComponentContext.hasAccess(Group group)
     
    ButtonManager.Handler.of(ButtonManager.HandlerFunction handler, Group group)
    Creates a handler that uses the given function and requires the given group.
    ButtonManager.HandlerEntry.of(String id, ButtonManager.HandlerFunction handler, boolean mutex, Group group)
    Creates a handler with the given ID that uses the given function and requires the given group.
    Constructors in dev.sympho.bot_utils.component with parameters of type Group
    Modifier
    Constructor
    Description
     
    Creates an instance of a Handler record class.