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
Describe the bug ${guild.name} does not have any more emote slots get's raised when server does indeed have emoji slots
To Reproduce
Steps to reproduce the behavior:
In a server with 195 static emotes and 111 animated emotes with lvl 3 boost on attempt to clone an emote the error saying we've reached max emotes get's raised.
After trying to troubleshoot I tried messing with the plugin code, commenting out the error, making it print stuff, etc.
After commenting out this:
if (this.getEmojis(guild.id, emoji.animated).length >= this.getMaxEmojiSlots(guild.id)) {
return this.replyError(`**${guild.name}** does not have any more emote slots`);
}
cloning an emoji worked, so I then moved on to try to find what exactly it said the max emojis we could use was
So I did this:
return this.replyError(`**${guild.name}** does not have any more emote slots. Max: ${this.getMaxEmojiSlots(guild.id)} Has: ${this.getEmojis(guild.id).length} Has animated: ${this.getEmojis(guild.id, emoji.animated).length}`);
Which returned this: ${guild.name} does not have any more emote slots. Max: 250 Has: 376 Has animated: 265
Which doesn't make sense at all as we have 195 static emojis (55 free) 111 animated emojis (139 free)
I'm sure I messed up with my printing of the emoji slots as I don't know js and I've not looked into powercord modules before but I hope my tinkering has helped a bit with debugging the issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
${guild.name} does not have any more emote slots
get's raised when server does indeed have emoji slotsTo Reproduce
Steps to reproduce the behavior:
In a server with 195 static emotes and 111 animated emotes with lvl 3 boost on attempt to clone an emote the error saying we've reached max emotes get's raised.
Expected behavior
Emote get's cloned successfully.
Desktop (please complete the following information):
After trying to troubleshoot I tried messing with the plugin code, commenting out the error, making it print stuff, etc.
After commenting out this:
cloning an emoji worked, so I then moved on to try to find what exactly it said the max emojis we could use was
So I did this:
Which returned this:
${guild.name} does not have any more emote slots. Max: 250 Has: 376 Has animated: 265
Which doesn't make sense at all as we have 195 static emojis (55 free) 111 animated emojis (139 free)
I'm sure I messed up with my printing of the emoji slots as I don't know js and I've not looked into powercord modules before but I hope my tinkering has helped a bit with debugging the issue.
The text was updated successfully, but these errors were encountered: