v3.0.0-alpha.8 | Mentions string, command filters and dynamic channel resolvers
Pre-release
Pre-release
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 tocommands.text
- Renamed
RegexParameterResolver
toTextParameterResolver
- Moved resolver interfaces from
parameters
toparameters.resolvers
- Updated to Kotlin 1.9.20
- Replaced
Class
withKClass
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 aSTRING
option - Added a dynamic channel resolver
- All
GuildChannel
types are supported (including future channel types), except trait interfaces (such asIPositionableChannel
) ThreadChannel
is only supported for slash commands
- All
Full Changelog: v3.0.0-alpha.7...v3.0.0-alpha.8