Skip to content

Bot does not respond to most commands and panics #267

Description

@alansartorio

📝 Description

When I /summon or /play, the bot joins the voice channel but it never answers the message, and it doesn't play any sound.
sending command...
the application did not respond
Some commands like /leave, /queue and /np get answered correctly
commands working properly

A few seconds after the message shows "the application did not respond", I can see a error log line appear in docker logs -f parrot that shows (I censored some ids just in case):

[DEBUG] Loading guild settings for UnavailableGuild { id: GuildId(***********), unavailable: true }

thread 'tokio-runtime-worker' (12) panicked at src/handlers/serenity.rs:379:14:
failed to create response: Serenity(Http(UnsuccessfulRequest(ErrorResponse { status_code: 404, url: "https://discord.com/api/v10/interactions/**********/************/callback", method: POST, error: DiscordJsonError { code: 10062, message: "Unknown interaction", errors: [] } })))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

🪜 Reproduction Steps

  1. Setup the bot
  2. Add the bot to a guild
  3. Join a voice channel
  4. Run /summon command: the bot enters the voice channel, but after a few seconds, the message shows "the application did not respond" and the bot shows a panic in its logs

ℹ Environment / Computer Info

I'm running the bot from the docker image using:
docker run -d --env-file .env --restart unless-stopped --name parrot ghcr.io/aquelemiguel/parrot:main

And I added the bot to my guild following both the automatic and the manual steps:
https://github.com/aquelemiguel/parrot/wiki/Create-Your-Discord-Bot#inviting-your-bot

I also tried building the docker image from source and giving the bot role administrator permissions in the guild.

  • Parrot version: 1.6.0 (main branch)
  • Operating System: NixOS (docker)

📸 Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    👓 triageThis issue is being reviewed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions