utility.appinfo: fix game distributor cutoff

This commit is contained in:
Cynthia Foxwell 2023-10-07 23:29:39 -06:00
parent de812f4210
commit 86344db224

View file

@ -1532,11 +1532,7 @@ appinfo.callback = async function (msg, line) {
? `[Discord](https://discord.com/store/skus/${sku.id})` ? `[Discord](https://discord.com/store/skus/${sku.id})`
: `${sku.distributor : `${sku.distributor
.split("_") .split("_")
.map( .map((x) => x[0].toUpperCase() + x.substring(1).toLowerCase())
(x) =>
x[0].substring(1).toUpperCase() +
x.substring(1).toLowerCase()
)
.join(" ") .join(" ")
.replace(" Net", ".net")}: \`${sku.id}\`` .replace(" Net", ".net")}: \`${sku.id}\``
) )