From 3ccd5ac51d9d553b078cae054063bcdb48526b1a Mon Sep 17 00:00:00 2001 From: toast Date: Sat, 24 Feb 2024 01:03:03 +1100 Subject: [PATCH] Rustify, I guess. --- src/commands/status.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/commands/status.rs b/src/commands/status.rs index 539dadd..794891b 100644 --- a/src/commands/status.rs +++ b/src/commands/status.rs @@ -71,7 +71,7 @@ async fn gs_query_minecraft(server_ip: &str) -> Result { @@ -153,10 +153,7 @@ pub async fn gs( ).await?; } }, - _ => { - ctx.send(CreateReply::default().content("Game not supported yet.")).await?; - return Ok(()); - } + _ => {} } Ok(())