You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove hardcoded emote jsons in favour of finding the emotes in the bot's available emotes.
As these emotes are added to the bot they are likely always available through some cache property on the client but we'll have to see how Discord.JS implements these.
Might require a lot of fetches that impact command speed with poor scalability since all emojis (up to 2000 objects) would need to be filtered and/or looped through, making the current hardcoded emoji-objects a better approach.
Looking into this. Many such cases.
Feature Description
Remove hardcoded emote jsons in favour of finding the emotes in the bot's available emotes.
As these emotes are added to the bot they are likely always available through some cache property on the client but we'll have to see how Discord.JS implements these.
Depends on discordjs/discord.js#10399 so likely has to wait untill 14.16.0.
The text was updated successfully, but these errors were encountered: