You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to add command to the command list when you type “/”
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
seems to be this thing is new on roblox, so google shoowed me no result.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I suppose you are using the default chat, it’s quite easy to do that with it.
Step 1) Playtest the game, and look under TextChatService inside the explorer.
Step 2) Copy the TextChatCommands folder and leave the playtest.
Step 3) Paste the TextChatCommands folder back into TextChatService
Step 4) Add a new TextChatCommand Instance into the TextChatCommands folder
Step 5) Edit the attributes of the TextChatCommand instance to what you need
Remember that all functions must be handled on the server as this TextChatCommand instance will only add the command to the chat box, thus not adding any functionality.
Chatted is part of the legacy service, I think. There are other events you should use to listen and respond to or style messages at different stages. The same article I mentioned includes an excellent flowchart that really helped me understand the flow.
Also, Chatted is a bit bugged at the moment, it sometimes runs twice.