diff --git a/src/driver/tasks/mod.rs b/src/driver/tasks/mod.rs index 4f42c22..49425fe 100644 --- a/src/driver/tasks/mod.rs +++ b/src/driver/tasks/mod.rs @@ -109,7 +109,7 @@ async fn runner(mut config: Config, rx: Receiver, tx: Sender, tx: Sender { drop(interconnect.mixer.send(MixerMessage::SetTrack(s))); diff --git a/src/events/context/data/disconnect.rs b/src/events/context/data/disconnect.rs index 4275849..0b22cd9 100644 --- a/src/events/context/data/disconnect.rs +++ b/src/events/context/data/disconnect.rs @@ -75,6 +75,10 @@ pub enum DisconnectReason { ProtocolViolation, /// A voice connection was not established in the specified time. TimedOut, + /// The call was manually disconnected by a user command, e.g. [`Driver::leave`]. + /// + /// [`Driver::leave`]: crate::driver::Driver::leave + Requested, /// The Websocket connection was closed by Discord. /// /// This typically indicates that the voice session has expired,