add fallbacks

This commit is contained in:
MathMan05 2025-04-11 14:57:13 -05:00
parent dcc94f28ff
commit 8fa9c06e72
2 changed files with 4 additions and 3 deletions

View file

@ -129,6 +129,7 @@ class Emoji {
}
}
for (const guild of localuser.guilds) {
if (!guild.emojis) continue;
const emj = guild.emojis.find((_) => _.id === idOrString);
if (emj) {
return new Emoji(emj, localuser);