Emoji¶
System · Emoji · server and client scripts
Emoji looks up the built-in emojis by shortcode, picker category, and search words. A shortcode is an emoji's lowercase name without colons, such as "+1" or "pirate_flag".
Categories¶
Categories returns the picker categories in display order, each with Id, Name, and Count. The first, "frequent", is empty; fill it from the player's picks or from FrequentDefaults.
Example
CategoryAt¶
CategoryAt returns the shortcode at a 1-based position in a named category, or nil past the end of the category.
Example
FrequentDefaults¶
FrequentDefaults returns the eight shortcodes the frequently used category shows before the player picks any emoji.
Example
Info¶
Info returns a table with Glyph, Name, and HasTones for an emoji in an optional skin tone, or nil for an unknown shortcode.
Example
Search¶
Search returns up to limit shortcodes, 90 by default, of emojis where each word of the query starts a word in the name or keywords, best match first.