utility.appinfo: APPLICATION_ASSETS is api not cdn
This commit is contained in:
parent
df4dc6be54
commit
8a56cb723c
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ appinfo.callback = async function (msg, line) {
|
|||
app = Object.assign(app, game);
|
||||
}
|
||||
|
||||
const assets = await hf.bot.requestHandler.request("GET", CDNEndpoints.APPLICATION_ASSETS(app.id), false);
|
||||
const assets = await hf.bot.requestHandler.request("GET", APIEndpoints.APPLICATION_ASSETS(app.id), false);
|
||||
|
||||
const embed = {
|
||||
title: `${app.name}`,
|
||||
|
@ -205,7 +205,7 @@ appinfo.callback = async function (msg, line) {
|
|||
links.push(`[Privacy Policy](${app.privacy_policy_url})`);
|
||||
}
|
||||
if (assets.length > 0) {
|
||||
links.push(`[Assets](${API_URL + CDNEndpoints.APPLICATION_ASSETS(app.id)})`);
|
||||
links.push(`[Assets](${API_URL + APIEndpoints.APPLICATION_ASSETS(app.id)})`);
|
||||
}
|
||||
|
||||
if (images.length > 0 || links.length > 0) {
|
||||
|
|
Loading…
Reference in a new issue