MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 43 forks source link

Messages from Discord into Minecraft parse as Markdown instead of a normal string #206

Open zderApfel opened 4 years ago

zderApfel commented 4 years ago

Base informations

Minecraft version: 1.12.2 (Forge)

DiscordIntegration version: 3.0.5

Server type and version: Forge 1.12.2

Link to pastebin with (censored) config: https://pastebin.com/fbwm1MCx

Expected behavior: When parsing discord messages into Minecraft, a phrase/username with underscores (e.x. 2_Z_Zach) shouldn't parse as markdown

Actual behavior: In the above example, Minecraft renders the name as 2ZZach (with the Z italicized). I am somewhat familiar with JSON but I'm not completely familiar with how I could disable markdown formatting

Steps to reproduce: Have a discord nickname with underscores and try sending a message into a server, or try and send a message with underscores in it

SizableShrimp commented 4 years ago

Hi @zderApfel, can you please screenshot this message in-game/on Discord so I can better understand your problem? I'll help investigate this and fix this in the next version if needed.

zderApfel commented 4 years ago

Sure, here's a screenshot of a discord message with my username (that contains underscores) and my name in game in the message. You can see that the first "Z" in my name is italicized. save1

SizableShrimp commented 4 years ago

Can you provide a list of all the mods on the server please?

zderApfel commented 4 years ago

Not counting dependencies: