Make sure server is online

This commit is contained in:
Sakuhl 2018-01-15 17:53:44 +01:00
parent 471d7def84
commit 535059290e

View File

@ -52,7 +52,7 @@ fn main() {
.on_conflict(guilds::prefix)
.do_nothing()
.execute(&conn) {
let _ = reqwest::get("https://https://wynnapi.herokuapp.com/");
let _ = reqwest::get("https://https://wynnapi.herokuapp.com/").unwrap();
} else {
println!("Fail!");
}