Kill bot automatically; Remove silly features

This commit is contained in:
Jeff 2025-03-07 23:04:36 -05:00
parent a2fa6e9a51
commit dac06922f8

View File

@ -98,6 +98,10 @@ impl Bot {
self.handle_veloren_event(event)?; self.handle_veloren_event(event)?;
} }
if !self.client.is_dead() {
self.client.send_command("kill".to_string(), Vec::new());
}
self.clock.tick(); self.clock.tick();
Ok(true) Ok(true)
@ -217,16 +221,6 @@ impl Bot {
); );
} }
} }
"frosty" => {
self.client.send_command(
"group".to_string(),
vec!["Do I look like a Discord bot to you?".to_string()],
);
}
"cheese" => {
self.client
.send_command("say".to_string(), vec!["I love cheese!".to_string()]);
}
_ => {} _ => {}
} }
} }