Uses of Interface
org.javacord.api.interaction.SlashCommand
-
Packages that use SlashCommand Package Description org.javacord.api org.javacord.api.entity.server org.javacord.api.interaction -
-
Uses of SlashCommand in org.javacord.api
Methods in org.javacord.api that return types with arguments of type SlashCommand Modifier and Type Method Description java.util.concurrent.CompletableFuture<SlashCommand>DiscordApi. getGlobalSlashCommandById(long commandId)Gets a slash command by its id.java.util.concurrent.CompletableFuture<java.util.Set<SlashCommand>>DiscordApi. getGlobalSlashCommands()Gets all global slash commands for the application.java.util.concurrent.CompletableFuture<SlashCommand>DiscordApi. getServerSlashCommandById(Server server, long commandId)Gets a server slash command by its id.java.util.concurrent.CompletableFuture<java.util.Set<SlashCommand>>DiscordApi. getServerSlashCommands(Server server)Gets all slash commands for the given server. -
Uses of SlashCommand in org.javacord.api.entity.server
Methods in org.javacord.api.entity.server that return types with arguments of type SlashCommand Modifier and Type Method Description java.util.concurrent.CompletableFuture<SlashCommand>Server. getSlashCommandById(long commandId)Gets a server slash command by its id.java.util.concurrent.CompletableFuture<java.util.Set<SlashCommand>>Server. getSlashCommands()Gets all slash commands for the given server. -
Uses of SlashCommand in org.javacord.api.interaction
Methods in org.javacord.api.interaction with parameters of type SlashCommand Modifier and Type Method Description static SlashCommandBuilderSlashCommand. createPrefilledSlashCommandBuilder(SlashCommand slashCommand)Create a new prefilled slash command builder from the given slash command.
-