I’ve done this before by simply forking the default chat and outright ripping the System chat out of the code. However I’ve decided to learn a more subtle approach and play nicer with the chat. I’ve been able to open up the channel tab without forking the chat, and I’m wondering if it’s possible to remove the channel without forking the chat.
Originally I was doing:
local chatService = game:GetService("Chat")
chatService:RemoveChannel("System")
However this didn’t work and it seemed like I’d need to call modules. I attempted this then:
local chatService = game:GetService("Chat")
local chatChannelsModule = require(chatService.ChatServiceRunner.ChatChannel)
chatChannelsModule:RemoveChannel("System")
This however led to errors seeing as the module I was looking for didn’t exist on requiring it.
Any ideas? I feel like the documentation for the default chat is very poorly written.