diff --git a/websocket-worker/src/main.rs b/websocket-worker/src/main.rs index f457897..406e0b6 100644 --- a/websocket-worker/src/main.rs +++ b/websocket-worker/src/main.rs @@ -80,7 +80,7 @@ async fn main() -> Result<(), Box> { return Err("Disconnected by server")?; } GatewayPacketS2C::Relayed { msg } => { - if msg.message.contains("/skill") { continue; } // fix chatspam problem + if msg.message.starts_with("/skill") { continue; } // fix chatspam problem info!("msg: {:?}", msg); if matches!(msg.source, Discord) { continue; } for wh in &config.websockets {