muse icon indicating copy to clipboard operation
muse copied to clipboard

Command: "/config set-queue-add-response-hidden" fails with error: "ope: unknown subcommand"

Open valkyrgit opened this issue 1 year ago • 1 comments

What's happening? Concisely describe what's going wrong.

When attempting to run the command "/config set-queue-add-response-hidden" it returns the "unknown subcommand" error with both the "true" and "false" value options.

Logs

2024-05-03T16:05:30.423Z prisma:client  Prisma Client call:
2024-05-03T16:05:30.423Z prisma:client  prisma.setting.findUnique({
  where: {
    guildId: '581974284428247041'
  }
})
2024-05-03T16:05:30.423Z prisma:client  Generated request:
2024-05-03T16:05:30.423Z prisma:client  query {
  findUniqueSetting(where: {
    guildId: "581974284428247041"
  }) {
    guildId
    playlistLimit
    secondsToWaitAfterQueueEmpties
    leaveIfNoListeners
    queueAddResponseEphemeral
    autoAnnounceNextSong
    defaultVolume
    createdAt
    updatedAt
  }
}

2024-05-03T16:05:30.423Z prisma:client:libraryEngine  sending request, this.libraryStarted: true
2024-05-03T16:05:30.425Z muse /usr/app/src/commands/config.ts:203
        throw new Error('unknown subcommand');
              ^

Error: unknown subcommand
    at default_1.execute (/usr/app/src/commands/config.ts:203:15)
    at Client.<anonymous> (/usr/app/src/bot.ts:79:13)

Runtime I'm running Muse:

  • [ ] Directly from the cloned repository
  • [X ] Inside a Docker container
  • [ ] Something else (please elaborate)

Versions

  • Muse: 2.8.1
  • Docker (if applicable): Docker version 24.0.9, build 2936816
  • OS: unRAID
  • Node.js: (if running outside the Docker container)
  • ffmpeg: (if running outside the Docker container, 4.1 or later is required)

valkyrgit avatar May 03 '24 16:05 valkyrgit

What's happening? Concisely describe what's going wrong.

When attempting to run the command "/config set-queue-add-response-hidden" it returns the "unknown subcommand" error with both the "true" and "false" value options.

Logs

2024-05-03T16:05:30.423Z prisma:client  Prisma Client call:
2024-05-03T16:05:30.423Z prisma:client  prisma.setting.findUnique({
  where: {
    guildId: '581974284428247041'
  }
})
2024-05-03T16:05:30.423Z prisma:client  Generated request:
2024-05-03T16:05:30.423Z prisma:client  query {
  findUniqueSetting(where: {
    guildId: "581974284428247041"
  }) {
    guildId
    playlistLimit
    secondsToWaitAfterQueueEmpties
    leaveIfNoListeners
    queueAddResponseEphemeral
    autoAnnounceNextSong
    defaultVolume
    createdAt
    updatedAt
  }
}

2024-05-03T16:05:30.423Z prisma:client:libraryEngine  sending request, this.libraryStarted: true
2024-05-03T16:05:30.425Z muse /usr/app/src/commands/config.ts:203
        throw new Error('unknown subcommand');
              ^

Error: unknown subcommand
    at default_1.execute (/usr/app/src/commands/config.ts:203:15)
    at Client.<anonymous> (/usr/app/src/bot.ts:79:13)

Runtime I'm running Muse:

* [ ]  Directly from the cloned repository

* [X ] Inside a Docker container

* [ ]  Something else (please elaborate)

Versions

* Muse: 2.8.1

* Docker (if applicable): Docker version 24.0.9, build 2936816

* OS: unRAID

* Node.js: (if running outside the Docker container)

* ffmpeg: (if running outside the Docker container, 4.1 or later is required)

You are certainly not alone. Just so you know, several of us have had the same issue. https://github.com/codetheweb/muse/issues/998#issuecomment-2108875244

gknoop avatar May 13 '24 22:05 gknoop

I created a pull request to fix this, just waiting for it to be approved and merged: https://github.com/codetheweb/muse/pull/1025#issue-2267992756

if you’re savvy enough, you can edit the SQLite database entry to set the flag manually until the pull request gets approved.

Sheeley7 avatar May 27 '24 03:05 Sheeley7

🚀 Released in Release v2.9.0.

github-actions[bot] avatar Jul 18 '24 04:07 github-actions[bot]