package wtf.beatrice.hidekobot.commands.slash; import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; import org.jetbrains.annotations.NotNull; public class HelpCommand { public void runSlashCommand(@NotNull SlashCommandInteractionEvent event) { // defer reply because replying might take a while event.deferReply().queue(); event.reply("Pong!").queue(); } }