Visual changes

This commit is contained in:
kotyara 2022-05-09 13:50:09 +00:00 • committed by GitHub
parent 42e5e09ae4
commit 10ae0fed78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -717,13 +717,12 @@ class PocketMinecraftServer{
$url = $this->extraprops->get("discord-webhook-url");
$name = $this->extraprops->get("discord-bot-name");
$this->asyncOperation(ASYNC_CURL_POST, array(
"url" => $url,
"data" => array(
"username" => $name,
"content" => str_replace("@", "", $msg)
),
), NULL);
"url" => $url,
"data" => array(
"username" => $name,
"content" => str_replace("@", "", $msg)
),
), NULL);
}
}
}