Remove the dumb test stuff I left in

This commit is contained in:
kozabrada123 2023-05-05 20:28:47 +02:00
parent 47c38c5541
commit ab4c20562c
1 changed files with 1 additions and 11 deletions

View File

@ -523,18 +523,8 @@ mod example {
#[tokio::test]
async fn test_gateway() {
let mut gateway = Gateway::new("wss://localhost:3001/".to_string())
let mut gateway = Gateway::new("ws://localhost:3001/".to_string())
.await
.unwrap();
let mut test_indetify = GatewayIdentifyPayload::default();
test_indetify.intents = 1000;
test_indetify.token = "haaaaeeuuuggghh".to_string();
test_indetify.properties = GatewayIdentifyConnectionProps { os: "Linux".to_string(), browser: "Very Poggers Discord Client".to_string(), device: "Some device idfk".to_string()};
gateway.send_identify(test_indetify).await;
loop {
gateway.update_events().await;
}
}
}