aboutsummaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-12-04 20:58:14 -0600
committermat <github@matdoes.dev>2022-12-04 20:58:14 -0600
commite99a822995c80e1f95c5f7a69e0d8c5d131af20f (patch)
treefd0e2e4079a1afd0ba6278d32169511defc97d08 /bot
parenta5aa8ea0c0c3ad38b6e3a1ada74ea3ce87f6edcf (diff)
downloadazalea-drasl-e99a822995c80e1f95c5f7a69e0d8c5d131af20f.tar.xz
change to_ansi to not take args
Diffstat (limited to 'bot')
-rw-r--r--bot/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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() == "<py5> world" {
for (name, world) in &swarm.worlds.read().worlds {
println!("world name: {}", name);