aboutsummaryrefslogtreecommitdiff
path: root/bot/src
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src')
-rw-r--r--bot/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/src/main.rs b/bot/src/main.rs
index 47af37b4..ec2f5954 100644
--- a/bot/src/main.rs
+++ b/bot/src/main.rs
@@ -3,9 +3,10 @@ use tokio::runtime::Runtime;
async fn bot() {
let address = ServerAddress::parse(&"mc.hypixel.net".to_string()).unwrap();
- minecraft_protocol::server_status_pinger::ping_server(&address)
+ let response = minecraft_protocol::server_status_pinger::ping_server(&address)
.await
.unwrap();
+ println!("{}", response.description.to_ansi(None));
}
fn main() {