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
1 changed files with 1 additions and 5 deletions

View File

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