mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Visual changes
This commit is contained in:
parent
42e5e09ae4
commit
10ae0fed78
1 changed files with 6 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue