ChatSpeaker

The ChatSpeaker object is used to represent a person or bot that can chat.

The name of the speaker.

Forces the speaker to connect to the given channel's name.

Forces the speaker to disconnect from the given channel's name.

Returns a list of the Speaker's channels.

Returns whether or not the speaker is in the given channel.

Makes the speaker say the given message and return the ChatMessage created.

Sends a message from the given channel to the speaker.

Returns the object associated with this speaker. Returns nil if this speaker does not have a player (for example, a bot).

Sets extra data under a specific key. Whenever a message is sent from this ChatSpeaker, the extra data will be applied to the message.

Returns the extra data of the given key, set with SetExtraData.

Fires when this speaker sends a message to a channel.

Fires when this speaker receives a message from a different speaker.

Fires when this speaker receives a system message from a channel.

Fires when this speaker joins a channel.

Fires when this speaker leaves a channel.

Fires when this speaker is muted.

Fires when this speaker is unmuted.

Fires when this speaker's extra data is updated through SetExtraData.

Fires when this speaker's main channel is changed to a different channel.