
com.freya02.botcommands.api.commands.application.slash.GlobalSlashEvent Maven / Gradle / Ivy
package com.freya02.botcommands.api.commands.application.slash;
import com.freya02.botcommands.api.BContext;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction;
import org.jetbrains.annotations.NotNull;
public abstract class GlobalSlashEvent extends SlashCommandInteractionEvent {
public GlobalSlashEvent(@NotNull JDA api, long responseNumber, @NotNull SlashCommandInteraction interaction) {
super(api, responseNumber, interaction);
}
public abstract BContext getContext();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy