diff --git a/src/main/java/me/bobert/netneutrality/context/SlashCommandContext.java b/src/main/java/me/bobert/netneutrality/context/SlashCommandContext.java index 16e8baa..3b1c2db 100644 --- a/src/main/java/me/bobert/netneutrality/context/SlashCommandContext.java +++ b/src/main/java/me/bobert/netneutrality/context/SlashCommandContext.java @@ -8,7 +8,6 @@ package me.bobert.netneutrality.context; import me.bobert.netneutrality.core.context.CommandContext; import me.bobert.netneutrality.core.context.InteractionContext; import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent; -import net.dv8tion.jda.api.interactions.InteractionHook; import net.dv8tion.jda.api.interactions.modals.Modal; public class SlashCommandContext extends CommandContext implements InteractionContext { @@ -24,14 +23,6 @@ public class SlashCommandContext extends CommandContext implements InteractionCo return event; } - @Override - public InteractionHook getInteractionHook() { - if (!event.isAcknowledged()) - throw new RuntimeException("Interaction isn't acknowledged yet"); - - return event.getHook(); - } - @Override public void deleteMessage() { // not implemented