Feedback on "TextChatCommand"

This page does not indicate that PrimaryAlias/SecondaryAlias must be of the form “/command” which leads to much confusion when trying to create custom commands.

Affected URL: TextChatCommand | Documentation - Roblox Creator Hub

it says “/{PrimaryAlias}” so i assume it is like /eat and /pick , incorrect?

The issue is that it’s unclear and developers are mistaking that as the player chatting that, not that the CoreScripts for chat not accepting aliases without / prefixed.

1 Like

Hello! I’m sorry for the confusion, and thank you for your report. We have some examples on creating custom TextChat commands on this page Custom text chat commands | Documentation - Roblox Creator Hub. Hopefully this helps alleviate any confusion while we address this issue.

Hello. We’ve updated the TextChatCommand documentation guide with a direct link to custom command examples that use the necessary format. Please let me know if you experience any other issues related to this bug.

3 Likes

oh i see it now. we do need the ‘/’ in defining those commands
image

good call OP

1 Like

Yeah, the issue was that the documentation suggested that the user types “/{PrimaryAlias}” into the chat to trigger it. If you take that literally to mean text replacement, then you would expect the value of TextChatCommand.PrimaryAlias to not include the /.

For example, if you set PrimaryAlias to be “give”, then according to the docs, the user would need to type “/give” to trigger it. However, this doesn’t work - it does work if you set PrimaryAlias to be “/give”.

I think the docs are still a little confusing, but at least there’s a link to examples now.