From e99a822995c80e1f95c5f7a69e0d8c5d131af20f Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 4 Dec 2022 20:58:14 -0600 Subject: change to_ansi to not take args --- bot/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src') diff --git a/bot/src/main.rs b/bot/src/main.rs index e50da728..2b85d802 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -136,7 +136,7 @@ async fn swarm_handle( swarm.add(account, State::default()).await?; } SwarmEvent::Chat(m) => { - println!("swarm chat message: {}", m.message().to_ansi(None)); + println!("swarm chat message: {}", m.message().to_ansi()); if m.message().to_string() == " world" { for (name, world) in &swarm.worlds.read().worlds { println!("world name: {}", name); -- cgit v1.2.3