Text Filtering w/o Associated Player

In https://create.roblox.com/docs/ui/text-filtering, it mentions “An experience that connects to an external web server to fetch content that is displayed in-experience. Often you will not have control over the content of the external site and a third party can edit the information.” as a use case of text filtering. This is my current use case, and therefore I cannot associate the text to be filtered with a user who created the text.

I’ve looked through the documentation regarding filtering, and both of the options I found both require a valid player to be in-game to use the filter. However, my concern is that if I picked a random player, they could easily be false banned if the external web server was abused.

I’m looking for a filtering option that doesn’t require a player, so that I can filter text as needed.

You can use GetNonChatStringForBroadcastAsync.

It still requires a player to be specified, however it is the player you wish to display the message to, and not the player who sent the message. This function only requires the player to be specified such that you can use the appropriate filter depending on whether they are under or over 13.

From what I saw, that requires a TextFilterResult which would still require me to filter text using a player