giorgi-o / SkinPeek

Awesome Valorant Discord bot to see your daily shop, night market, battlepass progression, and much more
GNU General Public License v3.0
210 stars 87 forks source link

Emotes doesn't work in embeds #22

Closed mistralwz closed 2 years ago

mistralwz commented 2 years ago

Seems to happen because a server had their emote slots full:

Could not create DeluxeRarity emoji! Either I don't have the right role or there are no more emoji slots
DiscordAPIError: Maximum number of emojis reached (100)
Could not create DeluxeRarity emoji! Either I don't have the right role or there are no more emoji slots
DiscordAPIError: Maximum number of emojis reached (100)
Could not create DeluxeRarity emoji! Either I don't have the right role or there are no more emoji slots
DiscordAPIError: Maximum number of emojis reached (100)
Could not create DeluxeRarity emoji! Either I don't have the right role or there are no more emoji slots
DiscordAPIError: Maximum number of emojis reached (100)
Could not create RadianiteIcon emoji! Either I don't have the right role or there are no more emoji slots
DiscordAPIError: Maximum number of emojis reached (100)

And the bot is trying to use emotes from there, but the emote does not exists.

=

giorgi-o commented 2 years ago

The bot should be able to tell whether it can use external emojis or not, weird. I've added a few mitigations in https://github.com/giorgi-o/SkinPeek/commit/5c0f78d85cae355de7992d891a31ba5dcb265a42.

mistralwz commented 2 years ago

That still doesn't seem to work. Some servers had emotes re-added though.

giorgi-o commented 2 years ago

Should be fixed in https://github.com/giorgi-o/SkinPeek/commit/87cc6af62a1e2562eeba5c223e172a407cbe804b.

mistralwz commented 2 years ago

Emote seems to be working! Closing this issue.