userinfo: untry rq

This commit is contained in:
Cynthia Foxwell 2025-07-16 16:05:01 -06:00
parent c515f1d401
commit a3f4f6aa96
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -511,7 +511,7 @@ userinfo.callback = async function (msg, line) {
const baseUrl = `https://cdn.discordapp.com/assets/collectibles/${nameplate.asset}`;
let imageUrl = baseUrl + "/static.png";
if (palette) {
try {
//try {
const static = await fetch(imageUrl)
.then((res) => res.arrayBuffer())
.then((b) => Buffer.from(b));
@ -531,9 +531,9 @@ userinfo.callback = async function (msg, line) {
filename: "nameplate.png",
});
imageUrl = "attachment://nameplate.png";
} catch {
//} catch {
// noop
}
//}
}
nameplateEmbed = {