diff options
| author | mat <github@matdoes.dev> | 2021-12-11 18:03:07 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-11 18:03:07 -0600 |
| commit | 3763d086f6e6f6c49ac996ec2b787d9de0d3bab7 (patch) | |
| tree | 271bf8d78c36e282bf1c116290893232aed4ffa6 /bot/src | |
| parent | ba911a8a207eb47df7a055410570767b2e33c2ae (diff) | |
| download | azalea-drasl-3763d086f6e6f6c49ac996ec2b787d9de0d3bab7.tar.xz | |
misc polish
Diffstat (limited to 'bot/src')
| -rw-r--r-- | bot/src/main.rs | 3 |
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() { |
