TextFilterResult:GetChatForUserAsync() is returning an empty string and is heavily affecting the admin system in my game.
In the documentation, it is written, “Calling this function from the client is deprecated and will be disabled in the future to only return an empty string. Text filtering pertaining to chat should be done through TextChatService and experiences that do not properly filter player-generated chat text might be subject to moderation.” I looked through TextChatService, but there does not seem to be a method to filter chat messages.
What is Roblox referring to when they say “text filtering pertaining to chat should be done through TextChatService” when there does not seem to be any methods for that?
Thanks for the reply, but I am already using that. TextFilterResult is returned from that method and TextFilterResult:GetChatForUserAsync() is returning an empty string.
I’m also experiencing this issue, and I see no reason why GetChatForUserAsync should be broken (returns an empty string) but both GetNonChatStringForBroadcastAsync and GetNonChatStringForUserAsync appear to behave perfectly fine. It seems improper to be using a non-chat method for filtering chat messages, so some more information on what’s going on here would be nice