Skip to content

v3.0.0-alpha.8 | Mentions string, command filters and dynamic channel resolvers

Pre-release
Pre-release
Compare
Choose a tag to compare
@freya022 freya022 released this 08 Nov 15:00
· 786 commits to 3.X since this release
8bae2ea

Overview

Added getting mentions from slash command strings, command-specific filters and improvements in documentation.

Don't hesitate to check out the changelogs as they contain more details.

Fixes

  • Fixed slash command groups not using default descriptions
  • Fixed reading arrays with DBResult
  • Fix parameter resolver cache

Changes

  • Renamed commands.prefixed package to commands.text
  • Renamed RegexParameterResolver to TextParameterResolver
  • Moved resolver interfaces from parameters to parameters.resolvers
  • Updated to Kotlin 1.9.20
  • Replaced Class with KClass in DSLs
  • Filters no longer handles replying, a "rejection handler" must be created for it, check the changelogs for more details
  • Abort component interactions if an option is unresolvable and has been acknowledged
    • Previously, this would have thrown

Additions

  • Allow logger live template in Kotlin object declarations
  • Added command specific filters (PR)
  • Added cache flags to JDAService
  • Use service priority when loading non-interfaced services
  • Added @MentionsString to get a list of mentionables in a STRING option
  • Added a dynamic channel resolver
    • All GuildChannel types are supported (including future channel types), except trait interfaces (such as IPositionableChannel)
    • ThreadChannel is only supported for slash commands

Full Changelog: v3.0.0-alpha.7...v3.0.0-alpha.8