Revxrsal / Lamp

A powerful, extendable, flexible yet simple to use commands annotation framework.
MIT License
171 stars 33 forks source link

Properly handle DefaultFor in JDA Slash commands #63

Closed bivashy closed 1 year ago

bivashy commented 1 year ago

Fixed

@Command("simple")
public class SimpleCommand {
  @DefaultFor("simple")
  public void defaultCommand(CommandActor actor) {
      actor.reply("Works");
  }
}

Where previous version would register: /simple simple simple instead of /simple