An00nymushun / DiscordEmojiParty

GNU Lesser General Public License v2.1
17 stars 8 forks source link

[BUG] - Cannot read property "length" of undefined #3

Closed whitetxt closed 2 years ago

whitetxt commented 2 years ago

Just found this recently, it seems to happen when a url is used for an emoji (from Freemoji plugin) image If a global Discord emoji is used, or a server emoji is used, this does not happen.

whitetxt commented 2 years ago

Update: After a bit more testing, it seems to only happen when the emoji is copied and pasted after typing broek

An00nymushun commented 2 years ago

That's an issue with Freemoji at https://github.com/QbDesu/BetterDiscordAddons/blob/potato/Plugins/Freemoji/Freemoji.plugin.js#L298 Because the created message has no invalidEmojis field