mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/emoji: add extra shortcodes for 🗑️ and 🚮
This commit is contained in:
parent
e8f2029dbb
commit
90e251dc18
2 changed files with 6 additions and 2 deletions
|
@ -12540,7 +12540,8 @@
|
|||
"t": "Wastebasket",
|
||||
"n": "wastebasket",
|
||||
"s": [
|
||||
"wastebasket"
|
||||
"wastebasket",
|
||||
"trashcan"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -13292,7 +13293,8 @@
|
|||
"n": "put_litter_in_its_place",
|
||||
"s": [
|
||||
"putlitterinitsplace",
|
||||
"litterbin"
|
||||
"litterbin",
|
||||
"putintrash"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -195,6 +195,8 @@ func main() {
|
|||
exerrors.PanicIfNotNil(json.NewDecoder(resp.Body).Decode(&moreShortcodes))
|
||||
moreShortcodes["1F4C8"] = append(moreShortcodes["1F4C8"], "chart_upwards")
|
||||
moreShortcodes["1F4C9"] = append(moreShortcodes["1F4C9"], "chart_downwards")
|
||||
moreShortcodes["1F6AE"] = append(moreShortcodes["1F6AE"], "put_in_trash")
|
||||
moreShortcodes["1F5D1-FE0F"] = append(moreShortcodes["1F5D1-FE0F"], "trash_can")
|
||||
for unified, codes := range moreShortcodes {
|
||||
emoji, ok := emojiMap[unified]
|
||||
if !ok {
|
||||
|
|
Loading…
Add table
Reference in a new issue