add tags optional
This commit is contained in:
parent
39e0eb5176
commit
16eddee67c
@ -4,12 +4,12 @@ reactions="$(yq . /dev/stdin < reactions.yaml)"
|
||||
jq -n --argjson reactions "$reactions" \
|
||||
'[
|
||||
$reactions[] | {
|
||||
label: .,
|
||||
label: .emoji,
|
||||
hexcode: "2721",
|
||||
shortcodes: [ . ],
|
||||
tags: [ . ],
|
||||
emoji: .,
|
||||
text: .,
|
||||
shortcodes: [ .emoji ],
|
||||
tags: (.tags? + [ .emoji ]),
|
||||
emoji: .emoji,
|
||||
text: .emoji,
|
||||
type: 0,
|
||||
order: 0,
|
||||
group: 8,
|
||||
|
Loading…
Reference in New Issue
Block a user