From ae3c21c5a063134259ea298ddfcf0d1f1069faa1 Mon Sep 17 00:00:00 2001 From: yourfriendoss Date: Tue, 9 Sep 2025 11:38:51 +0300 Subject: [PATCH] fix:R->RELEASE;D->DEBUG --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9b5d167..00989a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,9 +65,9 @@ async fn main() -> Result<(), Box> { let s = tokio::fs::read_to_string("config.hocon").await?; let conf: Configuration = hocon::de::from_str(&s)?; - let mut mode = "RELEASE"; + let mut mode = "R"; if cfg!(debug_assertions) { - mode = "DEBUG"; + mode = "D"; } let (mut client, event_rx) = Client::new(); @@ -120,9 +120,9 @@ async fn main() -> Result<(), Box> { let username = { let ram = ALLOCATOR.allocated() / 1_000_000; if ram != 0 { - format!("{} 📶{} ms 🐏{} mb [{}]", conf.commands.name, t, ram, mode) + format!("{} 📶{} ms 🐏{} mb {}", conf.commands.name, t, ram, mode) } else { - format!("{} 📶{} ms [{}]", conf.commands.name, -t, mode) + format!("{} 📶{} ms {}", conf.commands.name, -t, mode) } };