Skip to content

Commit

Permalink
Update lib.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAnEric authored Jun 17, 2023
1 parent 626c2f2 commit 3fa439a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,7 @@ class Bot {
}
console.log(`${Color.OkCyan}Bot Runner: ${Color.EndC}${Color.OkGreen}Running bot in servers: ${Color.EndC}${Color.OkBlue}${this.servers.join(", ")}${Color.EndC}`)
setInterval(async () => {
try {
const tokenCheck = await fetch("http://bot.run", {
method: "GET"
}) //PING TEST TO THE INTERNET
this.after_ping()
} catch (e) {
console.log(`${Color.OkBlue}Bot Runner: ${Color.EndC}${Color.OkCyan}Failed to ping the server.`)
}
this.after_ping()
}, 500) // POLLER REQUESTS TO THE WEBSITE ARE NOW DEPRECATED AND UNUSABLE.
}

Expand Down

0 comments on commit 3fa439a

Please sign in to comment.