replaceShortcodes

Replaces all short codes in the form of :shortcode: by their corresponding emoji.

Some emojis can be skin toned, and can be short-coded as such: :alias~tone: or :alias~tone1,tone2:. Tones can be 'light', 'medium-light', 'medium', 'medium-dark' or 'dark'.

Receiver

The string containing short codes.

Parameters

aliases

The alias map created with aliasMap.