Skip to content

Commit 6011533

Browse files
authored
Apply suggestions from code review
1 parent fc302e2 commit 6011533

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

content/en-us/chat/in-experience-text-chat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Both the [chat window](../chat/chat-window.md) and [bubble chat](../chat/bubble-
225225

226226
### Migrate speaker "extra data"
227227

228-
The legacy Luau chat system allowed developers to use `SetExtraData` on the `Speaker` class. This data was used to format the name color, chat color, or to apply name tags for a given speaker.
228+
The legacy Lua chat system allowed developers to use `SetExtraData` on the `Speaker` class. This data was used to format the name color, chat color, or to apply name tags for a given speaker.
229229

230230
```lua title='Legacy Chat System SetExtraData'
231231
-- An example of setting extra data on a speaker in the legacy chat system
@@ -239,7 +239,7 @@ end)
239239

240240
TextChatService does not have a direct equivalent to `SetExtraData`. Instead, use [TextChatService callbacks](#text-chat-hooks-and-callbacks) such as `Class.TextChatService.OnWindowAdded` to customize the appearance of messages using rich text based on the `TextSource` of the message.
241241

242-
The following is an example of emulating legacy Luau chat's "extra data" by access attributes on the TextSource's `Class.Player`:
242+
The following is an example of emulating legacy Lua chat's "extra data" by access attributes on the TextSource's `Class.Player`:
243243

244244
```lua title='TextChatService SetAttributes'
245245
local Players = game:GetService("Players")

content/en-us/chat/legacy/client-side-chat-modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The **ChatWindow** is the main chat module of the Legacy Chat System's client si
8585

8686
## ChatBar
8787

88-
The **ChatBar** handles client-side text entry for the Luau Chat System. There are two key components of the ChatBar:
88+
The **ChatBar** handles client-side text entry for the Lua chat system. There are two key components of the ChatBar:
8989

9090
- **ChatBar** , a `TextBox` , where the player inputs messages and commands (highlighted in orange)
9191
- **MessageMode** , a `TextLabel` , which can display information about the message being sent (highlighted in green)
@@ -301,7 +301,7 @@ Whisper chat and team chat use ChatCustomState to indicate to the player where t
301301

302302
## ChatSettings
303303

304-
The **ChatSettings** is a dictionary of settings for the client-side of the Luau Chat System. They are stored in a `ModuleScript` named _ChatSettings_ , which can be found inside of the `Chat` game service, under the `Folder` named _ClientChatModules_ . The module may be required and its properties can be changed during run-time.
304+
The **ChatSettings** is a dictionary of settings for the client-side of the Lua chat system. They are stored in a `ModuleScript` named _ChatSettings_ , which can be found inside of the `Chat` game service, under the `Folder` named _ClientChatModules_ . The module may be required and its properties can be changed during run-time.
305305

306306
To change a setting, require this module using a `LocalScript` in the following manner:
307307

content/en-us/chat/legacy/server-side-chat-modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ You can use the following chat modules to support server-side behaviors of the [
1818

1919
## ChatService
2020

21-
**ChatService** is a singleton object that handles the server-side behavior of the Luau Chat System, such as [ChatChannels](#chatchannel) and [ChatSpeakers](#chatspeaker).
21+
**ChatService** is a singleton object that handles the server-side behavior of the Lua chat system, such as [ChatChannels](#chatchannel) and [ChatSpeakers](#chatspeaker).
2222

2323
All `ModuleScript` s within the **ChatModules** folder should return a function, and that function will be called with the ChatService singleton.
2424

2525
<Alert severity="warning">
26-
ChatService chat module is different from the `Class.Chat` engine service hosting the Luau code responsible for running the Legacy Chat System.
26+
**ChatService** chat module is different from the `Class.Chat` engine service hosting the Lua code responsible for running the legacy chat system.
2727
</Alert>
2828

2929
### Methods

0 commit comments

Comments
 (0)