TwurpleAuthenticationGetting dataExamplesFAQMigration

findCheermotePositions

Definition

findCheermotePositions(text, names)

Finds the positions of all cheermotes in the given message.

ParameterTypeRequiredDefaultDescription
textstringnone

The message text.

namesstring[]none

The names of the cheermotes to find.

Return type: ParsedMessageCheerPart[]