Skip to content

Commit

Permalink
Update debug players command
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Aug 28, 2022
1 parent 83bd2d0 commit e150ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/message-function.php
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@ function ($error) use ($message) {
//Sends a message containing data for each server we host as collected from serverinfo.json
//This method does not have to be called locally, so it can be moved to VZG Verifier
if($GLOBALS['debug_echo']) echo "[SERVER STATE] $author_check" . PHP_EOL;
$browser->get('https://www.valzargaming.com/servers/serverinfo_get.php')->done( //Hosted on the website, NOT the bot's server
$browser->get('http://192.168.1.175:8080/servers/serverinfo_get.php')->done( //Hosted on the website, NOT the bot's server
function ($response) use ($author_channel, $discord, $message) {
if($GLOBALS['debug_echo']) echo '[RESPONSE]' . PHP_EOL;
include "../servers/serverinfo.php"; //$servers[1]["key"] = address / alias / port / servername
Expand Down

0 comments on commit e150ca1

Please sign in to comment.