Make sure server is online
This commit is contained in:
parent
471d7def84
commit
535059290e
@ -52,7 +52,7 @@ fn main() {
|
|||||||
.on_conflict(guilds::prefix)
|
.on_conflict(guilds::prefix)
|
||||||
.do_nothing()
|
.do_nothing()
|
||||||
.execute(&conn) {
|
.execute(&conn) {
|
||||||
let _ = reqwest::get("https://https://wynnapi.herokuapp.com/");
|
let _ = reqwest::get("https://https://wynnapi.herokuapp.com/").unwrap();
|
||||||
} else {
|
} else {
|
||||||
println!("Fail!");
|
println!("Fail!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user