Mc2Discord

Mc2Discord

50.4k Downloads

Custom Emoji comptability

h4vok-git opened this issue · 2 comments

commented

I have an issue regarding custom emojis using the Mc2Discord mod whilst using the Emojiful mod I can use all the emojis that the emojiful mod can use ingame and they will also show up in server too (except for the additional emojis that the mod uses but discord doesnt have such as 🫡 as discord still uses an older version of twemoji than the mod) However when it comes to custom emojis that can be added to emojiful mod via datapacks they will appear ingame as expected but will not show up in the server via the bot. From my understanding the bot just forwards the plain text that was added from the server and since the normal emojis are part of unicode or discord allows bots to just type up the emoji like normal due to this they are passed through with no issue however custom emojis don't as i think the bot doesn't take into account the custom emoji ID which has to be directly referenced in order for the emoji to show up through a bot (refer to this: https://stackoverflow.com/questions/51982806/how-do-i-make-my-discord-py-bot-use-custom-emoji).

You can see the steps to reproduce this from the following screenshots:
using normal emoji: works both ways also works if i post an emoji ingame it will appear in server and if i post emoji in server it will appear ingame.
image
image
image
image
image

using custom emoji i added via datapack: (additional info on adding custom emoji on emojiful mod page https://www.curseforge.com/minecraft/mc-mods/emojiful)

posting custom emoji in discord: as can been seen i can see the emoji in game when i post it through discord
image
image
image

posting custom emoji in game: as can been seen i can see the emoji in game but the emoji doesnt show up in discord

image
image
image

steps to reproduce:

  • install ur mod and set up as you would
  • install emojiful on server
  • create a custom emoji datapack and have same emoji in server that the mc2discord mod is in
  • use custom emoji in game and check discord for what the bot returns
  • bot will return plain text instead of emoji

I know this is a very niche issue and the solution may be more complex than just checking for the emoji ID for custom emojis but i would really appreciate if you could fix this if you would like any additional information msg me on discord: H4VØK#9955

emojiful source code: https://github.com/InnovativeOnlineIndustries/Emojiful

versions:
mc2discord-forge-1.16.x-3.2.10
emojiful-1.16.4-2.1.4
forge 36.2.20 (1.16.5)

commented

Will look into it

commented

Added in 3.3.0