Skip to main content

Module content

Module content 

Source
Expand description

Chat message text.

Kick sends emotes inline, as [emote:<id>:<name>], and leaves drawing them to the client. parse splits a message into text and emotes.

Enums§

Part
One piece of a message.

Functions§

emote_url
An emote’s image. id is Kick’s emote id (digits); anything else would not name an emote, and ., .. or an empty id would move the URL’s path, so it is refused.
parse
Splits content into text and emotes. With combine, a run of the same emote - back to back or with only whitespace between - becomes one part with a count, so KEKW KEKW KEKW is one emote, ×3. The same emote means the same id; the name is the first one’s.