Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

Releases: bitomic/plugin-application-commands

v1.1.2

12 Mar 20:21
Compare
Choose a tag to compare

Fixes

  • Move @sapphire/pieces to devDependencies and peerDependencies.

v1.1.1

01 Mar 02:49
Compare
Choose a tag to compare

Bugfixes

  • When calling the run method for an application command, it lost its this argument. Oops.

v1.1.0

27 Feb 20:42
Compare
Choose a tag to compare

Features

  • Added applicationCommandsHintProvider to SapphireClientOptions to manage idHints and guildIds for application commands.
  • name (and description for chat input application commands) are optional for application commands. If abscent, it will try to get the name from the base CommandOptions (also known as the piece's name).
    • If description doesn't exist in ChatInputApplicationOptions nor CommandOptions, it will log an error and skip it. The same will occur if somehow name isn't available in any of the options.