Added VD argument to chat-cli

Former-commit-id: 5feffb0877c531742a1a440bd5f9f2297098ff56
This commit is contained in:
Joshua Barretto 2019-05-19 02:06:34 +01:00
parent 3508e4afcb
commit c40aaab69b

View File

@ -16,9 +16,9 @@ fn main() {
// Create a client. // Create a client.
let mut client = let mut client =
Client::new(([127, 0, 0, 1], 59003), 300).expect("Failed to create client instance"); Client::new(([127, 0, 0, 1], 59003), None).expect("Failed to create client instance");
client.register(comp::Player::new("test".to_string())); client.register(comp::Player::new("test".to_string(), None));
client.send_chat("Hello!".to_string()); client.send_chat("Hello!".to_string());