io.github.freya022.botcommands.api.commands.application.CommandUpdateResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BotCommands Show documentation
Show all versions of BotCommands Show documentation
A Kotlin-first (and Java) framework that makes creating Discord bots a piece of cake, using the JDA library.
package io.github.freya022.botcommands.api.commands.application;
import net.dv8tion.jda.api.entities.Guild;
import org.jetbrains.annotations.Nullable;
import java.util.List;
/**
* Record which holds the result of a scheduled command update
*
This tells you if the commands were updated in the specified scope
*/
public record CommandUpdateResult(@Nullable Guild guild, boolean updatedCommands, List updateExceptions) {}