From 7c742347a7e16ac28fcc88e3bab30e68695763e4 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 8 May 2022 18:38:22 -0500 Subject: azalea-chat now checks language files --- bot/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bot/src') diff --git a/bot/src/main.rs b/bot/src/main.rs index 5fbb306f..9d10eaa6 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -5,7 +5,7 @@ async fn main() { println!("Hello, world!"); // let address = "95.111.249.143:10000"; - let address = "172.23.192.1:53911"; + let address = "172.23.192.1:61385"; // let response = azalea_client::ping::ping_server(&address.try_into().unwrap()) // .await // .unwrap(); @@ -18,6 +18,9 @@ async fn main() { while let Some(e) = client.next().await { match e { Event::Login => {} + Event::Chat(p) => { + println!("{}", p.message.to_ansi(None)); + } } } -- cgit v1.2.3