From 766582c9e861ccf4bc5763c008c44ee9c9d0d424 Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 16 Apr 2026 01:53:50 -0400 Subject: [PATCH] fix: I did this without rust-analyzer so fix the gateway close error path --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0c405ef..3cc9520 100644 --- a/src/main.rs +++ b/src/main.rs @@ -340,7 +340,7 @@ async fn handle_events(command_router: Arc, state: State, mut sha Ok(event) => { handle_event(command_router.clone(), state.clone(), event).await; } - Err(twilight_gateway::error::Event::GatewayClose(frame_option)) => { + Err(twilight_model::gateway::Event::GatewayClose(frame_option)) => { tracing::warn!(?frame_option); return; }