(Let's try this again, after I woke up realizing I merged the master branch instead of the commit.)
With the introduction of Polyglot support, emotes were broken, because Polyglot never assigns those messages a flag. Emotes are never supposed to be in another language, after all.
This small fix checks if the message has the polyglot flag. If it doesn't, we shouldn't bother with processing languages and scrambling.
(Let's try this again, after I woke up realizing I merged the master branch instead of the commit.)
With the introduction of Polyglot support, emotes were broken, because Polyglot never assigns those messages a flag. Emotes are never supposed to be in another language, after all.
This small fix checks if the message has the polyglot flag. If it doesn't, we shouldn't bother with processing languages and scrambling.