Uses of Interface
dev.sympho.modular_commands.api.permission.NamedGroup
Packages that use NamedGroup
-
Uses of NamedGroup in dev.sympho.modular_commands.api.permission
Fields in dev.sympho.modular_commands.api.permission declared as NamedGroupModifier and TypeFieldDescriptionstatic final NamedGroupGroups.ADMINSThe group of server admins (matches users with theadministratorpermission).static final NamedGroupGroups.BOOSTERThe group that matches a booster in the invoking server.static final NamedGroupGroups.BOT_OWNERThe group that only matches the bot owner.static final NamedGroupGroups.EVERYONEThe group of all Discord users (matches everyone).static final NamedGroupGroups.NOBODYThe empty group (matches nobody).static final NamedGroupGroups.SERVER_OWNERThe group that only matches the server owner.Methods in dev.sympho.modular_commands.api.permission that return NamedGroupModifier and TypeMethodDescriptionstatic NamedGroupAdds a name to an existing group.static NamedGroupGroups.remote(NamedGroup 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 NamedGroupGroups.remote(NamedGroup 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 NamedGroupGroups.remote(NamedGroup 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 NamedGroupModifier and TypeMethodDescriptionstatic NamedGroupGroups.remote(NamedGroup 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 NamedGroupGroups.remote(NamedGroup 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 NamedGroupGroups.remote(NamedGroup 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.