Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks
valkyrgit opened this issue May 3, 2024 · 3 comments · Fixed by #1025
Closed
2 tasks
Labels

Comments

@valkyrgit
Copy link

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)
@gknoop
Copy link

gknoop commented May 13, 2024

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.
#998 (comment)

@Sheeley7
Copy link
Contributor

I created a pull request to fix this, just waiting for it to be approved and merged:
#1025 (comment)

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

@codetheweb codetheweb linked a pull request Jun 1, 2024 that will close this issue
Copy link

🚀 Released in Release v2.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants