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
217 stars 91 forks source link

Fix maxEmoji condition not creating emojis correctly #65

Closed iwa closed 1 year ago

iwa commented 1 year ago

The current code only checks for the actual size of the GuildEmoji cache, which takes in account both static & animated emotes But, the actual limit is set by, for exemple at level 1 boosting, 100 emotes max per type

This fixes the issue by checking only the number of static emotes in the guild

iwa commented 1 year ago

fixes #63 btw

giorgi-o commented 1 year ago

Ohh, I had no idea this was a thing! Thanks!