Refactor objects package
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-22 16:41:08 +01:00
parent a7ac446b0b
commit 11e4a07698
18 changed files with 20 additions and 20 deletions

View File

@@ -0,0 +1,24 @@
package wtf.beatrice.hidekobot.objects.commands;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.build.CommandData;
import org.jetbrains.annotations.NotNull;
public class SlashCommandImpl implements SlashCommand
{
@Override
public String getCommandName() {
return getSlashCommandData().getName();
}
@Override
public CommandData getSlashCommandData() {
return null;
}
@Override
public void runSlashCommand(@NotNull SlashCommandInteractionEvent event) {
event.reply("Base command implementation").queue();
}
}