How to toggle whispering command in TextChatService

Before you say anything, yes I did change the enabled property.

In my game there’s a button that allows the players to toggle the whispering chat feature on and off, using the new text chat service you can disable any default command with a simple bool change, this does not apply for whispering, as regardless of what this value is, it will always trigger as long as the aliases match.

I also discovered that whenever you type the whisper command with the target, it creates a new text channel for the two players, i could delete this channel if whispering is disabled and prevent it but that seems like its bruteforcing it, is there a more elegant way to do this?

2 Likes

Correct me if I’m wrong, but TextChatService doesn’t support this

1 Like

After some more testing, it seems like the whole whispering feature is hardcoded (same goes for team command) and its kind of weird that they didn’t implement the functionality of the enabled property to disable it. As said before the rest of the default commands work fine, for now im gonna go with the hacky method but if theres a better way to do this let me know : )

1 Like