When I attempt to do /summon or /play, it causes a panic with the following error:
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Driver(Ws(WsClosed(Some(CloseFrame { code: Library(4006), reason: "Session is no longer valid." }))))', src/commands/summon.rs:42:48
I also see The application did not respond in Discord, a few seconds before the panic happens.
I tried the bot a month ago, worked wonderfully.
I tried it today, it doesn't work.
Other commands such as /queue and /leave are working.
As far as I know, nothing changed between today and a month ago.
Not really sure how to debug what the problem is.
🪜 Reproduction Steps
Run the bot
Tried running it in Debug mode through CLion, or running the binary from cargo build --release
Type /summon in Discord
The bot successfully joins the channel
📝 Description
When I attempt to do
/summon
or/play
, it causes a panic with the following error:I also see
The application did not respond
in Discord, a few seconds before the panic happens.I tried the bot a month ago, worked wonderfully.
I tried it today, it doesn't work. Other commands such as
/queue
and/leave
are working.As far as I know, nothing changed between today and a month ago.
Not really sure how to debug what the problem is.
🪜 Reproduction Steps
cargo build --release
ℹ Environment / Computer Info
master
branchmacOS
📸 Screenshots
No response