Files
HidekoBot/src/main/java/wtf/beatrice/hidekobot/objects/commands/SlashArgumentsCompleterImpl.java
Beatrice Dellacà 50ccda214f
All checks were successful
continuous-integration/drone/push Build is passing
Finish command completion listener implementation
Very similarly to how the slash command interface works, now a slash command auto-completion interface also exists, with its respective listener.
2022-11-23 00:01:05 +01:00

22 lines
612 B
Java

package wtf.beatrice.hidekobot.objects.commands;
import net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent;
import org.jetbrains.annotations.NotNull;
public class SlashArgumentsCompleterImpl implements SlashArgumentsCompleter
{
private final SlashCommand parentCommand;
public SlashArgumentsCompleterImpl(SlashCommand parentCommand)
{
this.parentCommand = parentCommand;
}
public SlashCommand getCommand()
{ return parentCommand; }
public void runCompletion(@NotNull CommandAutoCompleteInteractionEvent event)
{
return;
}
}