-
Notifications
You must be signed in to change notification settings - Fork 22
[Bug]: Sending multiple custom server emotes of the same kind in one message from Minecraft chat makes them display strangely in Discord #211
Description
🐞 Description
When sending a message from Minecraft chat containing multiple of the same custom emote (e.g. :custom1: :custom1: :custom1:), the formatting of the message sent into Discord by the bot completely breaks, resulting in something like the following:
[username]: <<<:custom1:1463195137176899831>1463195137176899831>1463195137176899831><<<:custom1:1463195137176899831>1463195137176899831>1463195137176899831><<<:custom1:1463195137176899831>1463195137176899831>1463195137176899831><<<:custom1:1463195137176899831>1463195137176899831>1463195137176899831>
Hereby, the emote itself is displayed correctly.
The bug still occurs when the message sent from Minecraft chat contains text and/or whitespace between the emotes, however does not affect distinct custom emotes (e.g. sending :custom1: :custom2: works as expected)
This has been tested on a newly generated world/server without any additional mods.
🔄 Steps to reproduce
- Send a message into Minecraft chat containing multiple of the same custom emote available on the linked server:
:custom1: :custom1: - Observe the message sent by the bot in the linked Discord channel
✅ Expected behavior
The message sent to the channel shows [username]: :custom1: :custom1:(Emotes show and render correctly)
❌ Actual behavior
The message sent to the channel instead shows [username]: <:custom1:1463195137176899832> <:custom1:1463195137176899831> (Emotes themselves still correctly displayed, but with whats presumably the emote id added)
🎮 Minecraft Version
1.21.11
🛠️ Mod Version
3.3.4
📦 Mod Loader
Fabric
🔧 Mod Loader Version
0.18.4
📚 CraterLib Version
3.0.1
📜 Logs & Screenshots
A screenshot of the bug occuring.
