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