Make some messages nicer
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user