if ram then name was slightly fucked

This commit is contained in:
Soph :3 2025-09-10 07:35:50 +03:00
parent e5dd0206ca
commit 739e8c2800

View file

@ -137,7 +137,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
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)
}