Make some messages nicer

This commit is contained in:
2022-11-21 15:07:46 +01:00
parent 3ff154eec6
commit 78d5bd6beb
2 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
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();
}
}