Skip to content

@sapphire/[email protected]

Compare
Choose a tag to compare
@github-actions 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 or ChatInputCommandError.
      This was inconsistent with errors during runtime emitted to MessageSubcommandError and ChatInputSubcommandError respectively.
      Therefore these events are now emitted to the new events PluginMessageSubcommandNoMatch and PluginChatInputSubcommandNoMatch 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.

๐Ÿ› 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)