add emoticon

This commit is contained in:
Jon 2022-03-31 19:46:33 +01:00
parent a9e11f0081
commit a06355d913

View File

@ -5,6 +5,7 @@ jq -n --argjson reactions "$reactions" \
'[ '[
$reactions[] | { $reactions[] | {
label: .emoji, label: .emoji,
emoticon: .emoji,
hexcode: "2721", hexcode: "2721",
shortcodes: [ .emoji ], shortcodes: [ .emoji ],
tags: (.tags? + [ .emoji ]), tags: (.tags? + [ .emoji ]),