I found a way to support custom emojis in the hidden messages.
When someone tries to send an emoji, it'll be converted into this format: [emojiName:emojiId.extension]
So for example : [blobthumbsup:882203306217320469.png]
It works with .png and .gif, however for the latter the issue is that the gif will autoplay all the time, which may be bothering for some people.
A solution would be perhaps to have a setting which enables/disables gif emojis (thus using the .png variant).
Another possible improvement would be adding a css rule to vertically center the text in the div, since when there's an emoji there's a bigger gap above the text than bellow it.
I found a way to support custom emojis in the hidden messages.
When someone tries to send an emoji, it'll be converted into this format:
[emojiName:emojiId.extension]
So for example :[blobthumbsup:882203306217320469.png]
It works with .png and .gif, however for the latter the issue is that the gif will autoplay all the time, which may be bothering for some people. A solution would be perhaps to have a setting which enables/disables gif emojis (thus using the .png variant).
Another possible improvement would be adding a css rule to vertically center the text in the div, since when there's an emoji there's a bigger gap above the text than bellow it.