Class DefaultGuildScopeProvider
java.lang.Object
com.github.kaktushose.jda.commands.scope.DefaultGuildScopeProvider
- All Implemented Interfaces:
GuildScopeProvider
,Function<CommandData,
Set<Long>>
Default implementation of
GuildScopeProvider
. This will always return an empty Set!- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(CommandData commandData) Gets a Set of guild ids the provided command should be registered for.
-
Constructor Details
-
DefaultGuildScopeProvider
public DefaultGuildScopeProvider()
-
-
Method Details
-
apply
Description copied from interface:GuildScopeProvider
Gets a Set of guild ids the provided command should be registered for.- Specified by:
apply
in interfaceFunction<CommandData,
Set<Long>> - Specified by:
apply
in interfaceGuildScopeProvider
- Parameters:
commandData
- a copy of theCommandData
to register- Returns:
- always an empty set
-