Interface CommandCreateAction

All Superinterfaces:
CommandData, RestAction<Command>, SerializableData, SlashCommandData

public interface CommandCreateAction extends RestAction<Command>, SlashCommandData
Specialized RestAction used to create or update commands.
If a command with the specified name already exists, it will be replaced!

This operation is not idempotent! Commands will persist between restarts of your bot, you only have to create a command once.