discord bot asset create
This commit is contained in:
parent
9ffd9e8b23
commit
39d7503eed
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
// ...
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue