Skip to content

Class · inherits Instance

TextChatCommand

Official docs ↗

Represents a text chat command.

About TextChatCommand

Represents a text chat command. Can be used to create custom text chat commands when parented to TextChatService.

Custom commands can have up to two aliases, and the Triggered event fires when a user's message matches the value of either the PrimaryAlias or SecondaryAlias. For an example of custom commands, see Custom text chat commands.

To learn more about using TextChatService, see In-experience text chat.

Properties 4

Events 1

TextChatCommand also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.