discord bot asset create

This commit is contained in:
Austin 2021-11-01 11:46:33 -04:00
parent 9ffd9e8b23
commit 39d7503eed
1 changed files with 8 additions and 0 deletions

View File

@ -163,6 +163,10 @@ $alert = '';
else
{
$alert = "<div class='alert alert-success' role='alert'>Uploaded item</div>";
if ($onsale) {
httpGetPing("localhost:4098/?type=itemrelease&assetid=".$autoincrement."&name=".urlencode($_POST['item'])."&description=".urlencode($_POST['itemdesc'])."&price=".$price."&image=".$GLOBALS['renderCDN']."/".getAssetInfo($autoincrement)->ThumbHash, 8000);
}
}
// ...
}
@ -273,6 +277,10 @@ $alert = '';
else
{
$alert = "<div class='alert alert-success' role='alert'>Uploaded face</div>";
if ($onsale) {
httpGetPing("localhost:4098/?type=itemrelease&assetid=".$autoincrement."&name=".urlencode($_POST['item'])."&description=".urlencode($_POST['itemdesc'])."&price=".$price."&image=".$GLOBALS['renderCDN']."/".getAssetInfo($autoincrement)->ThumbHash, 8000);
}
}
// ...
}