github-actions
released this
07 Aug 18:01
·
86 commits
to main
since this release
@sapphire/[email protected] - (2024-08-07)
๐ Refactor
- Changed no match errors to emit on a subcommand listener instead of the root MessageCommandError / ChatInputCommandError (6e7a5bf) (#601 by @favna)
- ๐ฅ BREAKING CHANGE: If no subcommand matched the error was emitted to
MessageCommandError
orChatInputCommandError
.
This was inconsistent with errors during runtime emitted toMessageSubcommandError
andChatInputSubcommandError
respectively.
Therefore these events are now emitted to the new eventsPluginMessageSubcommandNoMatch
andPluginChatInputSubcommandNoMatch
respectively.
New built-in listeners for these events will log the infractions to the console at the error level. You can override these listeners to provide your functionality.
- ๐ฅ BREAKING CHANGE: If no subcommand matched the error was emitted to
๐ Bug Fixes
- deps: Update all non-major dependencies (43df709) (#574 by @renovate[bot])
- deps: Update all non-major dependencies (7909d16) (#573 by @renovate[bot])
- subcommands: Export cooldown precondition on top level and deprecate namespaced exports (e71f926)
- deps: Update all non-major dependencies (ee64834) (#546 by @renovate[bot])
- subcommands: Update transitive dependencies (342090e)