Add isSlashCommandOnly to command interface

This commit is contained in:
anthorob committed 2026-08-24 17:04:14 -04:00
1 parent da3142df0c
commit c021f84415
1 file changed
+2 -2
@@ -62,11 +62,11 @@ public class SlashCommandContext extends CommandContext implements InteractionCo
@Override
public String getSubcommandGroup() {
return getFullCommand().split(" ")[2];
return event.getSubcommandGroup();
}
@Override
public String getSubcommand() {
return getFullCommand().split(" ")[1];
return event.getSubcommandName();
}
}