github-actions
released this
01 Jun 07:12
·
269 commits
to main
since this release
Breaking Changes
- Packages are now ESM only
@reciple/update-checker
is now deprecated, functionality is now moved to@reciple/utils
with the newPackageUpdateChecker
class- Changes to command halts includes
- Addition of global command halts
- Command halts are now structured like pre-conditions
- Support for multiple command halts
.setHalt
is removed from builders, use.addHalts
or.setHalts
instead
- Removed unnecessary abstraction such as
.removePreconditions()
,.disablePreconditions()
,.enablePreconditions()
fromCommandManager
- Removed
.create()
static method from default preconditions - Moved functionality of
.executeCommandBuilderHalt()
fromRecipleClient
toCommandManager
's.executeHalts()
- Moved functionality of
.executeCommandBuilderExecute()
fromRecipleClient
toCommandManager
- Removed unnecessary
CommandManager
abstractions such as.getApplicationCommand()
and.fetchApplicationCommand()
- Removed
parseMessageURL()
andfetchMessageURL()
from@reciple/utils
, use.fetch()
or.parse()
fromMessageURLData
instead
Enhancements
versions
property is now optional- Message command validate function can now return string or
Error
to add custom error message toMessageCommandOptionValue#error
- Added support for global halts
- Added support for multiple command halts per commands