fix: return emoji

This commit is contained in:
MARCROCK22 2024-05-25 16:19:09 -04:00
parent 24924cce58
commit d06cd2e847

View File

@ -40,6 +40,7 @@ export class EmojiShorter extends BaseShorter {
body: bodyResolved,
});
await this.client.cache.channels?.setIfNI('GuildEmojisAndStickers', emoji.id!, guildId, emoji);
return new GuildEmoji(this.client, emoji, guildId);
}
/**