Skip to content

Releases: freya022/BotCommands

v2.8.2 - Fix NSFW commands & text commands

20 Dec 13:46
Compare
Choose a tag to compare

Changed

  • Fixed NSFW application commands not being tagged as NSFW
  • Rework how command patterns are assembled

Full Changelog: v2.8.1...v2.8.2

v2.8.1 - JDA 5 Beta 2, minor text command fix

08 Dec 20:16
Compare
Choose a tag to compare

Changed

  • Update to JDA 5 Beta 2 (#51)
  • Fixed an issue causing text commands to not compile when an optional first parameter was followed by a required parameter in text commands
  • Clarified behavior when compiling text commands in RegexParameterResolver

Full Changelog: v2.8...v2.8.1

v2.8 - JDA 5 Beta 1, NSFW application commands

27 Nov 21:04
Compare
Choose a tag to compare

Added

  • Added support for NSFW application commands

Changed

  • Added a wiki page for localization (#48)
  • Update to JDA 5 Beta 1 (#49)
  • Command paths now uses spaces as to accomodate JDA changes
  • Select targets have to be specified when creating entity select menus

Full Changelog: v2.7.0...v2.8

v2.7.0 - JDA 5 Alpha 22, entity select menus

26 Oct 21:15
Compare
Choose a tag to compare

What's Changed

Update to JDA 5 alpha 22 (#47)

  • Support new entity select menus
  • Added ForumChannel parameter resolver

Full Changelog: v2.6.2...v2.7.0

v2.6.2 - JDA 5 alpha 21, few fixes

13 Oct 20:49
Compare
Choose a tag to compare

What's Changed

  • Update to JDA 5 alpha 21 (#46)
  • Fixed a few concurrency bugs related to Logging and DefaultValueSuppliers sometimes not being registered
  • Errors thrown in persistent component handlers are now reported

Full Changelog: v2.6.1...v2.6.2

v2.6.1 - Support string bounds in slash commands

17 Sep 14:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.6.0...v2.6.1

v2.6.0 - JDA 5 alpha 19 support

13 Sep 17:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.5.1...v2.6.0

2.5.1 - Bugfix for Unix systems

25 Aug 16:42
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.5.0...2.5.1

2.5.0 - JDA 5 alpha 18 & help rework

22 Aug 13:42
Compare
Choose a tag to compare

Changes

Additions

  • Add optional paginator controls to interactive menus (#37)

Changes

  • Rework help command & help overriding (#33)
  • Update to JDA 5 alpha 18 (#41)

Full Changelog: BotCommands-2.4.1...2.5.0

2.4.1 - Modals, perms V2, new localization, publishing

21 Jul 22:43
Compare
Choose a tag to compare

Changes

Updates

  • Use Java 17 (with preview features), see README on how to enable them
  • Use JDA 5 alpha 16

Application commands

  • Added a Guild parameter to SlashParameterResolver#getPredefinedChoices
  • Changed developer error replies (such as for invalid resolved types) to exceptions
  • Replaced perms V1 with perms V2
    • Removed guildOnly for application commands, replaced with a scope enumeration
    • Added defaultLocked to lock a command to administrators by default, overrides defined user permissions

Misc

  • EventWaiterBuilder#submit returns a CompletableFuture
  • Reworked localization / default messages, see DefaultMessages
  • Use Minn's fork of emoji-java

Additions

Application commands

  • Added modals, see Modals
  • Added command IDs, they allow you to have multiple commands with the same path, but with different target guilds, and potentially different options
  • Added default values, these are options that can be substituted on a per-guild basis, with GuildApplicationSettings#getDefaultValueSupplier
  • Added varargs for slash commands, they work the same way as java except you can specify how many of the arguments are optional
  • Reintroduce ApplicationCommandsBuilder#forceCommandsAsGuildOnly
  • Added an Attachment resolver
  • Allow subcommands with subcommand groups, in the same top-level command
    • Example: /tag send + /tag manage create

Commands

  • Support command localization, they use a similar format to the MessageFormat API, but with named parameters, see DefaultLocalizationMapProvider, Localization and DefaultLocalizationTemplate

Misc

  • Added ExtensionsBuilder#registerDynamicInstanceSupplier to let Spring users supply command instances
  • Added Kotlin sources
  • Added maven central publishing
    • Going forward, I will be using a Major.Minor.Revision scheme, major for big breaking changes, minor for minor breaking changes, including features/bugfix, and revision for non-breaking features/bugfixes
    • master should now get updates with smaller PRs, and releases would be done to maven central when appropriate
      • This will let the main page to be more frequently updated vs having to select the newer branch everytime

Full Changelog: 2.3.0...BotCommands-2.4.1