Add a hook for chat bubble renders
When using polyglot, it scrambles the text that gets sent to the chat, but it still appears plaintext in the chat bubble. Would need to add a hook so we can modify the chat bubbles content or prevent it from appearing.
Hook Usage
// Example 1 - Modify the bubble appearance
Hooks.on("chatBubble", (token, html, message, options) => {
html.html("<p>SOMETHING ELSE!</p>");
});
// Example 2 - Prevent this particular bubble
Hooks.on("chatBubble", (token, html, message, options) => {
return false;
});
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information