Interface RootMetaBuilder
- All Superinterfaces:
BuildableMetaBuilder, ExtendableRootBuilder
- All Known Implementing Classes:
SlashBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMarks a command as admin command.command(SlashHandler handler) default RootMetaBuilderdefault RootMetaBuilderMarks a command as public command.scope(InteractionScope scope) skus(Collection<SKU> skus) withPermission(Permission permission, Permission... permissions) Methods inherited from interface BuildableMetaBuilder
buildMethods inherited from interface ExtendableRootBuilder
group, subCommand
-
Method Details
-
command
-
withPermission
-
publicCommand
RootMetaBuilder publicCommand()Marks a command as public command.This is the default value.
- Returns:
- builder
-
adminCommand
RootMetaBuilder adminCommand()Marks a command as admin command.The command will only be accessable for administrators of a guild.
- Returns:
- builder
-
skus
-
guildOnly
RootMetaBuilder guildOnly() -
scope
-
unlocalized
RootMetaBuilder unlocalized() -
globalCommand
-
privateCommand
-