GetSpeakerList wrongly displayed as GetSpeakersList

I noticed a mistake in the Lua Chat documentation API about chat channels while trying to use the method shown as “GetSpeakersList”, but that is actually “GetSpeakerList”. Trying to use it like this:

local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
local All = ChatService:GetChannel("All")

for k,v in pairs(All:GetSpeakersList()) do
    print(k,v)
end

leads to the following error:

And just changing the method to “GetSpeakerList” works fine as expected.

2 Likes

Typo fixed! Happy Chat System fiddling :slight_smile:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.