Skip to content

Lamp v4: Beta 10

Compare
Choose a tag to compare
@Revxrsal Revxrsal released this 17 Sep 22:10
· 97 commits to v4 since this release

Additions

  • Added @CommandPriority.Low
  • Clean up CommandRegistry and migrate to a user-friendly interface
  • Rename CommandRegistry#children() to CommandRegistry#commands()
  • Make sure @Switch is only usable on boolean parameters

Kotlin features

  • Added support for suspend functions
  • Added support for @Optional and nullable parameters
  • Added support for @Switch value: Boolean = true/false (default values for switches)

Full Changelog: 4.0.0-beta.9...4.0.0-beta.10