Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
thororen 2024-12-02 21:37:16 -05:00
commit cad4b9a1ab
5 changed files with 71 additions and 55 deletions

View file

@ -110,6 +110,7 @@ function registerSubCommands(cmd: Command, plugin: string) {
const subCmd = {
...cmd,
...o,
options: o.options !== undefined ? o.options : undefined,
type: ApplicationCommandType.CHAT_INPUT,
name: `${cmd.name} ${o.name}`,
id: `${o.name}-${cmd.id}`,