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) } };