Simple Discord Link Bot

Simple Discord Link Bot

1M Downloads

[Bug]: Messages from player with underscore in name not being sent

Closed this issue ยท 2 comments

commented

๐Ÿž Description

I have a player on the server who has an underscore in the middle of their name. None of their chat messages are showing up in our chat channel. I am using the default embed option.

	#Control where CHAT messages are delivered
	[messageDestinations.chat]
		#The Channel the message will be delivered to. Valid entries are CHAT, EVENT, CONSOLE, OVERRIDE
		channel = "CHAT"
		#Should the message be sent using EMBED style messages
		useEmbed = true
		#Embed Layout to use
		embedLayout = "default"
		#Override the destination with a custom channel/webhook url. Make sure to change `channel` above to OVERRIDE
		override = ""

๐Ÿ”„ Steps to reproduce

  1. Configure config to use embeds
  2. Have user with underscore in name send message?

โœ… Expected behavior

User's message should show up as an embed in our chat channel, but it does not. Only issue is for this user.

โŒ Actual behavior

No embeds are sent

๐ŸŽฎ Minecraft Version

1.21.1

๐Ÿ› ๏ธ Mod Version

3.2.3

๐Ÿ“ฆ Mod Loader

NeoForge

๐Ÿ”ง Mod Loader Version

21.1.133

๐Ÿ“š CraterLib Version

2.1.4

๐Ÿ“œ Logs & Screenshots

Image

Image

commented

Known bug. A release is pending for it over the weekend.

Work around for now is to not use embeds for chat, but rather webhooks or normal messages.

commented

Fixed in 3.3.0