v3.0.0-alpha.6 | Rate limiting, localization extensions and DB debug
Pre-release
Pre-release
Overview
Added token bucket-based rate limiting, a convenient way to get both a user and a member, more extensions, transaction debugging and a Java bot template.
Don't hesitate to check out the changelogs as they contain more details.
Fixes
- Fixed text subcommand aliases
- Fixed commands parsing when only the bot mention was present
- Fixed
ClassGraphProcessor#postProcess
running more than once
Changes
- Having a root localization bundle for a given bundle name is now eagerly enforced
BApplicationConfigBuilder#onlineAppCommandCheckEnabled
is now opt-in- Tweaked setter names in config builders for Java users
- Persistent handler name is passed to
ComponentInteractionFilter
if available
Additions
- Added
orNull
variants ofLocalizationContext
(and sub-interfaces) functions - Added localized reply/edit extensions, such as
event#replyLocalized
,hook#editLocalized
- Added
LocalizationContext#switchBundles
which changes the target bundle and clears the prefix, while keeping the locale - Added token bucket-based rate limiting
- Added JDA extensions using Kotlin's
Duration
- Added
ErrorResponse
ignoring functions - Added optional coroutine / thread dump on long transactions
- Added input users, helping in having both the user and member if available
Removals
- Removed deprecated
DBResult
functions
Full Changelog: v3.0.0-alpha.5...v3.0.0-alpha.6