Skip to main content

Module emoji

Module emoji 

Source
Expand description

Emoji to react with: the ones this reader uses most, kept for next time, and all there are, to pick another from.

The ones offered first are the ones used most, and of those used as often the ones used last (see suggested); a few common ones fill the room until there is that much history. Which were used, how often and when is kept in the settings of this machine (Config::reaction_emojis), and nowhere else: it is nobody’s business what one reacts with most.

What an emoji is is what the emojis crate knows as one, which is Unicode’s list: that is what tells a reaction that is an emoji from one that is some other text (known), and what there is to pick from (found).

Structs§

Used
An emoji that was reacted with, how many times, and when last, in seconds since the Unix epoch.

Enums§

Group
A category for an emoji.

Constants§

FOUND_MAX 🔒
How many emoji a search for one shows at the most.
KEPT_MAX 🔒
How many emoji are kept track of: the most used. Beyond that many the least used are forgotten.
USUAL 🔒
What is offered until there is history enough to offer: a few that are common as reactions.

Functions§

by_use 🔒
The more used of two, the one used last if as often: which comes first.
found
The emoji to pick from: those whose name or short code has every word of typed in it, FOUND_MAX at the most, if anything is typed, and all of group if not.
known
text as the emoji it is, written the one way each is written here, if it is one: an emoji may be written with or without the mark that says to show it as a picture.
record
Note in used that emoji was reacted with at now. What is no emoji is not noted. No more than KEPT_MAX are kept: the least used go, the one just used never.
standing_for
The emoji that stands for group where the groups are chosen from: its first.
suggested
The emoji to offer first, max at the most: those of used, the most used first, then the usual ones, each once.