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.
Interfaces for handling user-triggered events in a generalized manner.
  • 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.
    Fields in dev.sympho.bot_utils.access declared as Group
    Modifier and Type
    Field
    Description
    final Group
    AccessException.group
    The group that was required for access.
    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.
    AccessManager.doValidate(AccessContext context, Group group, Supplier<Mono<Boolean>> membershipCheck)
    Validates that an access is legal.
    ChannelAccessValidator.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.
    default Mono<Void>
    ChannelAccessValidator.validate(Group group)
    Determines whether the invoking user in the current execution context has access equivalent to the given group.
    static Mono<Void>
    AccessValidator.validateResult(Mono<Boolean> result, Group group)
    Verifies that an access check result passed, issuing an AccessException otherwise.
    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.
    Constructors in dev.sympho.bot_utils.access with parameters of type Group
    Modifier
    Constructor
    Description
     
    Creates a new instance.
  • Uses of Group in dev.sympho.bot_utils.component

    Methods in dev.sympho.bot_utils.component that return Group
    Modifier and Type
    Method
    Description
    default Group
    ButtonManager.Handler.group()
    The group that the user must have access to in order to use the button.
  • Uses of Group in dev.sympho.bot_utils.event

    Methods in dev.sympho.bot_utils.event with parameters of type Group
    Modifier and Type
    Method
    Description
    default Mono<Boolean>
    ChannelEventContext.belongs(Snowflake user, Group group)
    Determines whether the given user belongs to the given group in the context of this event.
    default Mono<Boolean>
    ChannelEventContext.belongs(User user, Group group)
    Determines whether the given user belongs to the given group in the context of this event.
    default Mono<Boolean>
    ChannelEventContext.hasAccess(Group group)
     
    default Mono<Void>
    ChannelEventContext.validate(Group group)