Interface GuildScopeProvider
- All Superinterfaces:
Function<net.dv8tion.jda.api.interactions.commands.build.CommandData,
Set<Long>>
- All Known Implementing Classes:
DefaultGuildScopeProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface GuildScopeProvider
extends Function<net.dv8tion.jda.api.interactions.commands.build.CommandData,Set<Long>>
Interface for declaring on which Guilds a guild scoped command should be registered.
- See Also:
-
Method Summary
-
Method Details
-
apply
Gets a Set of guild ids the provided command should be registered for.
-