Hello, my game frequently uses Player.Chatted events as a way of inputting codes
From what I understand, Player.Chatted will continue to work, but with slightly altered functionality:
However, having tested out the SendingMessage function, it doesnt seem to detect emote messages (e.x. /e dance)
local tts = game:GetService("TextChatService")
tts.SendingMessage:Connect(function(msg)
print("chat message " .. msg.Text)
end)
The game uses the "/e " prefix to conceal the codes, as any message typed with "/e " before it won’t appear in the chat for other users.
Currently, Player.Chatted detects these messages just fine, but I’m worried about it no longer doing so once legacy chat is fully deprecated
If anyone knows whether that’ll happen (or has a workaround using one of the TextChatService functions) please let me know.