WIP: Add script for automatic emoji translation --skip-ci--
This commit is contained in:
parent
6a35d42f92
commit
0d2b14dcea
49
package-lock.json
generated
49
package-lock.json
generated
@ -12,6 +12,7 @@
|
||||
"axios": "^1.5.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"n-readlines": "^1.0.1",
|
||||
"node-emoji": "^2.1.0",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"sqlite3": "^5.1.6",
|
||||
"typeorm": "^0.3.17",
|
||||
@ -1405,6 +1406,17 @@
|
||||
"integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@sindresorhus/is": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-3.1.2.tgz",
|
||||
"integrity": "sha512-JiX9vxoKMmu8Y3Zr2RVathBL1Cdu4Nt4MuNWemt1Nc06A0RAin9c5FArkhGsyMBWfCu4zj+9b+GxtjAnE4qqLQ==",
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sindresorhus/is?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/@sinonjs/commons": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz",
|
||||
@ -2498,8 +2510,6 @@
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
|
||||
"integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
@ -3204,6 +3214,11 @@
|
||||
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/emojilib": {
|
||||
"version": "2.4.0",
|
||||
"resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz",
|
||||
"integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw=="
|
||||
},
|
||||
"node_modules/enabled": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz",
|
||||
@ -6317,6 +6332,17 @@
|
||||
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz",
|
||||
"integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ=="
|
||||
},
|
||||
"node_modules/node-emoji": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.0.tgz",
|
||||
"integrity": "sha512-tcsBm9C6FmPN5Wo7OjFi9lgMyJjvkAeirmjR/ax8Ttfqy4N8PoFic26uqFTIgayHPNI5FH4ltUvfh9kHzwcK9A==",
|
||||
"dependencies": {
|
||||
"@sindresorhus/is": "^3.1.2",
|
||||
"char-regex": "^1.0.2",
|
||||
"emojilib": "^2.4.0",
|
||||
"skin-tone": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/node-fetch": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
|
||||
@ -7426,6 +7452,17 @@
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/skin-tone": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz",
|
||||
"integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==",
|
||||
"dependencies": {
|
||||
"unicode-emoji-modifier-base": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/slash": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
|
||||
@ -8292,6 +8329,14 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/unicode-emoji-modifier-base": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz",
|
||||
"integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/unique-filename": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
"test": "rm -rf dist/ && jest",
|
||||
"compile": "rm -rf dist/ && tsc",
|
||||
"start": "npm run compile && node dist/app.js",
|
||||
"reactions": "npm run compile && node dist/reactions.js",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"version": "0.1.0",
|
||||
@ -50,6 +51,7 @@
|
||||
"axios": "^1.5.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"n-readlines": "^1.0.1",
|
||||
"node-emoji": "^2.1.0",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"sqlite3": "^5.1.6",
|
||||
"typeorm": "^0.3.17",
|
||||
|
||||
714
src/automatic_reactions.json
Normal file
714
src/automatic_reactions.json
Normal file
@ -0,0 +1,714 @@
|
||||
{
|
||||
":green_heart:": "💚",
|
||||
":+1:": "👍",
|
||||
":clap:": "👏",
|
||||
":heart_eyes:": "😍",
|
||||
":joy:": "😂",
|
||||
":sunflower:": "🌻",
|
||||
":white_check_mark:": "✅",
|
||||
":heart:": "❤️",
|
||||
":wave:": "👋",
|
||||
":100:": "💯",
|
||||
":pray:": "🙏",
|
||||
":raised_hands:": "🙌",
|
||||
":ok_hand:": "👌",
|
||||
":tada:": "🎉",
|
||||
":muscle:": "💪",
|
||||
":sweat_smile:": "😅",
|
||||
":grinning:": "😀",
|
||||
":grin:": "😁",
|
||||
":star_struck:": "🤩",
|
||||
":blush:": "😊",
|
||||
":smile:": "😄",
|
||||
":laughing:": "😆",
|
||||
":rocket:": "🚀",
|
||||
":smiley:": "😃",
|
||||
":rofl:": "🤣",
|
||||
":cry:": "😢",
|
||||
":coffee:": "☕",
|
||||
":purple_heart:": "💜",
|
||||
":sunglasses:": "😎",
|
||||
":four_leaf_clover:": "🍀",
|
||||
":see_no_evil:": "🙈",
|
||||
":relaxed:": "☺️",
|
||||
":flushed:": "😳",
|
||||
":scream:": "😱",
|
||||
":bulb:": "💡",
|
||||
":thinking:": "🤔",
|
||||
":bouquet:": "💐",
|
||||
":grimacing:": "😬",
|
||||
":fist:": "✊",
|
||||
":heavy_plus_sign:": "➕",
|
||||
":kissing_heart:": "😘",
|
||||
":innocent:": "😇",
|
||||
":v:": "✌",
|
||||
":champagne:": "🍾",
|
||||
":heavy_check_mark:": "✔️",
|
||||
":rage:": "😡",
|
||||
":wink:": "😉",
|
||||
":ok:": "🆗",
|
||||
":top:": "🔝",
|
||||
":disappointed:": "😞",
|
||||
":rainbow:": "🌈",
|
||||
":hearts:": "♥️",
|
||||
":sob:": "😭",
|
||||
":handshake:": "🤝",
|
||||
":fire:": "🔥",
|
||||
":sun_with_face:": "🌞",
|
||||
":sunny:": "☀️",
|
||||
":disappointed_relieved:": "😥",
|
||||
":dancer:": "💃",
|
||||
":beers:": "🍻",
|
||||
":yellow_heart:": "💛",
|
||||
":tulip:": "🌷",
|
||||
":stuck_out_tongue_winking_eye:": "😜",
|
||||
":sparkles:": "✨",
|
||||
":pensive:": "😔",
|
||||
":bike:": "🚲",
|
||||
":heart_eyes_cat:": "😻",
|
||||
":astonished:": "😲",
|
||||
":christmas_tree:": "🎄",
|
||||
":point_up:": "☝",
|
||||
":cold_sweat:": "😰",
|
||||
":unamused:": "😒",
|
||||
":weary:": "😩",
|
||||
":blossom:": "🌼",
|
||||
":exploding_head:": "🤯",
|
||||
":yum:": "😋",
|
||||
":fireworks:": "🎆",
|
||||
":birthday:": "🎂",
|
||||
":metal:": "🤘",
|
||||
":rainbow_flag:": "🏳️🌈",
|
||||
":eyes:": "👀",
|
||||
":confused:": "😕",
|
||||
":worried:": "😟",
|
||||
":black_heart:": "🖤",
|
||||
":one:": "1️⃣",
|
||||
":two:": "2️⃣",
|
||||
":nauseated_face:": "🤢",
|
||||
":question:": "❓",
|
||||
":man_shrugging:": "🤷♂️",
|
||||
":writing_hand:": "✍",
|
||||
":rabbit:": "🐰",
|
||||
":wine_glass:": "🍷",
|
||||
":joy_cat:": "😹",
|
||||
":exclamation:": "❗",
|
||||
":two_hearts:": "💕",
|
||||
":dart:": "🎯",
|
||||
":dizzy_face:": "😵",
|
||||
":sweat:": "😓",
|
||||
":unicorn:": "🦄",
|
||||
":man_dancing:": "🕺",
|
||||
":cherry_blossom:": "🌸",
|
||||
":fearful:": "😨",
|
||||
":point_up_2:": "👆",
|
||||
":angry:": "😠",
|
||||
":relieved:": "😌",
|
||||
":sleeping:": "😴",
|
||||
":stuck_out_tongue_closed_eyes:": "😝",
|
||||
":hatching_chick:": "🐣",
|
||||
":hatched_chick:": "🐥",
|
||||
":deciduous_tree:": "🌳",
|
||||
":sleepy:": "😪",
|
||||
":expressionless:": "😑",
|
||||
":open_mouth:": "😮",
|
||||
":tired_face:": "😫",
|
||||
":palm_tree:": "🌴",
|
||||
":neutral_face:": "😐",
|
||||
":poop:": "💩",
|
||||
":smirk:": "😏",
|
||||
":raised_hand:": "✋",
|
||||
":blue_heart:": "💙",
|
||||
":hushed:": "😯",
|
||||
":x:": "❌",
|
||||
":cool:": "🆒",
|
||||
":tropical_drink:": "🍹",
|
||||
":ballot_box_with_check:": "☑️",
|
||||
":money_with_wings:": "💸",
|
||||
":tea:": "🍵",
|
||||
":confetti_ball:": "🎊",
|
||||
":pizza:": "🍕",
|
||||
":penguin:": "🐧",
|
||||
":hibiscus:": "🌺",
|
||||
":computer:": "💻",
|
||||
":point_right:": "👉",
|
||||
":three:": "3️⃣",
|
||||
":seedling:": "🌱",
|
||||
":sparkling_heart:": "💖",
|
||||
":cake:": "🍰",
|
||||
":man_facepalming:": "🤦♂️",
|
||||
":anguished:": "😧",
|
||||
":boom:": "💥",
|
||||
":broken_heart:": "💔",
|
||||
":frog:": "🐸",
|
||||
":star2:": "🌟",
|
||||
":trophy:": "🏆",
|
||||
":ocean:": "🌊",
|
||||
":triumph:": "😤",
|
||||
":robot:": "🤖",
|
||||
":confounded:": "😖",
|
||||
":green_apple:": "🍏",
|
||||
":persevere:": "😣",
|
||||
":mask:": "😷",
|
||||
":bangbang:": "‼️",
|
||||
":beer:": "🍺",
|
||||
":woman_shrugging:": "🤷",
|
||||
":soccer:": "⚽",
|
||||
":croissant:": "🥐",
|
||||
":whale:": "🐳",
|
||||
":candle:": "🕯",
|
||||
":scream_cat:": "🙀",
|
||||
":no_mouth:": "😶",
|
||||
":grey_question:": "❔",
|
||||
":smiling_imp:": "😈",
|
||||
":apple:": "🍎",
|
||||
":ghost:": "👻",
|
||||
":cookie:": "🍪",
|
||||
":dog:": "🐶",
|
||||
":pear:": "🍐",
|
||||
":pretzel:": "🥨",
|
||||
":orange_heart:": "🧡",
|
||||
":cat:": "🐱",
|
||||
":space_invader:": "👾",
|
||||
":classical_building:": "🏛",
|
||||
":steam_locomotive:": "🚂",
|
||||
":badger:": "🦡",
|
||||
":popcorn:": "🍿",
|
||||
":woman_facepalming:": "🤦♀️",
|
||||
":santa:": "🎅",
|
||||
":hedgehog:": "🦔",
|
||||
":cupcake:": "🧁",
|
||||
":chocolate_bar:": "🍫",
|
||||
":rotating_light:": "🚨",
|
||||
":b:": "🅱️",
|
||||
":bagel:": "🥯",
|
||||
":eagle:": "🦅",
|
||||
":beach_umbrella:": "🏖",
|
||||
":floppy_disk:": "💾",
|
||||
":lollipop:": "🍭",
|
||||
":dizzy:": "💫",
|
||||
":hammer:": "🔨",
|
||||
":doughnut:": "🍩",
|
||||
":zero:": "0️⃣",
|
||||
":snowflake:": "❄️",
|
||||
":speak_no_evil:": "🙊",
|
||||
":open_hands:": "👐",
|
||||
":butterfly:": "🦋",
|
||||
":bird:": "🐦",
|
||||
":strawberry:": "🍓",
|
||||
":moneybag:": "💰",
|
||||
":ballot_box:": "🗳",
|
||||
":heart_decoration:": "💟",
|
||||
":alien:": "👽",
|
||||
":revolving_hearts:": "💞",
|
||||
":banana:": "🍌",
|
||||
":pick:": "⛏",
|
||||
":mushroom:": "🍄",
|
||||
":crying_cat_face:": "😿",
|
||||
":shamrock:": "☘",
|
||||
":house_with_garden:": "🏡",
|
||||
":sunrise:": "🌅",
|
||||
":dove:": "🕊",
|
||||
":star:": "⭐",
|
||||
":zzz:": "💤",
|
||||
":earth_americas:": "🌎",
|
||||
":earth_africa:": "🌍",
|
||||
":alarm_clock:": "⏰",
|
||||
":ab:": "🆎",
|
||||
":skull:": "💀",
|
||||
":heartpulse:": "💗",
|
||||
":crown:": "👑",
|
||||
":man_superhero:": "🦸♂️",
|
||||
":grapes:": "🍇",
|
||||
":kissing_closed_eyes:": "😚",
|
||||
":kiss:": "💋",
|
||||
":raised_back_of_hand:": "🤚",
|
||||
":tv:": "📺",
|
||||
":smile_cat:": "😸",
|
||||
":arrow_up_small:": "🔼",
|
||||
":notes:": "🎶",
|
||||
":drooling_face:": "🤤",
|
||||
":corn:": "🌽",
|
||||
":house:": "🏠",
|
||||
":candy:": "🍬",
|
||||
":movie_camera:": "🎥",
|
||||
":drum:": "🥁",
|
||||
":kissing_smiling_eyes:": "😙",
|
||||
":no_entry_sign:": "🚫",
|
||||
":snail:": "🐌",
|
||||
":chipmunk:": "🐿",
|
||||
":kissing:": "😗",
|
||||
":gift_heart:": "💝",
|
||||
":four:": "4️⃣",
|
||||
":herb:": "🌿",
|
||||
":evergreen_tree:": "🌲",
|
||||
":dragon:": "🐉",
|
||||
":broccoli:": "🥦",
|
||||
":octopus:": "🐙",
|
||||
":japanese_ogre:": "👹",
|
||||
":cherries:": "🍒",
|
||||
":chart_with_upwards_trend:": "📈",
|
||||
":pie:": "🥧",
|
||||
":heartbeat:": "💓",
|
||||
":sneezing_face:": "🤧",
|
||||
":sauropod:": "🦕",
|
||||
":carrot:": "🥕",
|
||||
":ice_cream:": "🍨",
|
||||
":video_camera:": "📹",
|
||||
":negative_squared_cross_mark:": "❎",
|
||||
":point_left:": "👈",
|
||||
":five:": "5️⃣",
|
||||
":fire_engine:": "🚒",
|
||||
":construction:": "🚧",
|
||||
":tangerine:": "🍊",
|
||||
":bullettrain_front:": "🚅",
|
||||
":train:": "🚋",
|
||||
":bullettrain_side:": "🚄",
|
||||
":train2:": "🚆",
|
||||
":smirk_cat:": "😼",
|
||||
":frowning:": "😦",
|
||||
":arrow_up:": "⬆️",
|
||||
":teddy_bear:": "🧸",
|
||||
":chicken:": "🐔",
|
||||
":dolphin:": "🐬",
|
||||
":syringe:": "💉",
|
||||
":iphone:": "📱",
|
||||
":stuck_out_tongue:": "😛",
|
||||
":ear:": "👂",
|
||||
":musical_score:": "🎼",
|
||||
":cocktail:": "🍸",
|
||||
":electric_plug:": "🔌",
|
||||
":email:": "✉️",
|
||||
":watermelon:": "🍉",
|
||||
":stuffed_flatbread:": "🥙",
|
||||
":recycle:": "♻️",
|
||||
":shopping_cart:": "🛒",
|
||||
":hamster:": "🐹",
|
||||
":cat2:": "🐈",
|
||||
":triangular_flag_on_post:": "🚩",
|
||||
":spaghetti:": "🍝",
|
||||
":no_entry:": "⛔",
|
||||
":stars:": "🌠",
|
||||
":shallow_pan_of_food:": "🥘",
|
||||
":musical_note:": "🎵",
|
||||
":boxing_glove:": "🥊",
|
||||
":tumbler_glass:": "🥃",
|
||||
":owl:": "🦉",
|
||||
":woman_technologist:": "👩💻",
|
||||
":mailbox_with_mail:": "📬",
|
||||
":rose:": "🌹",
|
||||
":sailboat:": "⛵",
|
||||
":elephant:": "🐘",
|
||||
":baby:": "👶",
|
||||
":maple_leaf:": "🍁",
|
||||
":bat:": "🦇",
|
||||
":lemon:": "🍋",
|
||||
":red_car:": "🚗",
|
||||
":fire_extinguisher:": "🧯",
|
||||
":telephone_receiver:": "📞",
|
||||
":cloud:": "☁️",
|
||||
":euro:": "💶",
|
||||
":gift:": "🎁",
|
||||
":smiley_cat:": "😺",
|
||||
":mag:": "🔍",
|
||||
":rabbit2:": "🐇",
|
||||
":a:": "🅰️",
|
||||
":egg:": "🥚",
|
||||
":high_brightness:": "🔆",
|
||||
":grey_exclamation:": "❕",
|
||||
":cheese:": "🧀",
|
||||
":older_man:": "👴",
|
||||
":pineapple:": "🍍",
|
||||
":red_circle:": "🔴",
|
||||
":fountain:": "⛲",
|
||||
":spider:": "🕷",
|
||||
":bear:": "🐻",
|
||||
":parrot:": "🦜",
|
||||
":racehorse:": "🐎",
|
||||
":checkered_flag:": "🏁",
|
||||
":black_joker:": "🃏",
|
||||
":umbrella:": "☔",
|
||||
":basketball:": "🏀",
|
||||
":nose:": "👃",
|
||||
":crystal_ball:": "🔮",
|
||||
":lying_face:": "🤥",
|
||||
":love_letter:": "💌",
|
||||
":icecream:": "🍦",
|
||||
":dark_sunglasses:": "🕶",
|
||||
":kissing_cat:": "😽",
|
||||
":imp:": "👿",
|
||||
":chart_with_downwards_trend:": "📉",
|
||||
":e-mail:": "📧",
|
||||
":hamburger:": "🍔",
|
||||
":pushpin:": "📌",
|
||||
":thermometer:": "🌡",
|
||||
":bowl_with_spoon:": "🥣",
|
||||
":speaking_head:": "🗣",
|
||||
":bus:": "🚌",
|
||||
":tropical_fish:": "🐠",
|
||||
":circus_tent:": "🎪",
|
||||
":ping_pong:": "🏓",
|
||||
":cup_with_straw:": "🥤",
|
||||
":camping:": "🏕",
|
||||
":loud_sound:": "🔊",
|
||||
":video_game:": "🎮",
|
||||
":japanese_goblin:": "👺",
|
||||
":turtle:": "🐢",
|
||||
":pig2:": "🐖",
|
||||
":fr:": "🇫🇷",
|
||||
":mountain_snow:": "🏔",
|
||||
":sheep:": "🐑",
|
||||
":man_cartwheeling:": "🤸♂️",
|
||||
":shaved_ice:": "🍧",
|
||||
":beetle:": "🐞",
|
||||
":peach:": "🍑",
|
||||
":clown_face:": "🤡",
|
||||
":warning:": "⚠️",
|
||||
":baby_bottle:": "🍼",
|
||||
":gem:": "💎",
|
||||
":bow_and_arrow:": "🏹",
|
||||
":hotel:": "🏨",
|
||||
":cow:": "🐮",
|
||||
":woman_in_lotus_position:": "🧘♀️",
|
||||
":point_down:": "👇",
|
||||
":radioactive:": "☢",
|
||||
":zap:": "⚡",
|
||||
":koala:": "🐨",
|
||||
":cd:": "💿",
|
||||
":dash:": "💨",
|
||||
":woman_cartwheeling:": "🤸♀️",
|
||||
":yarn:": "🧶",
|
||||
":postal_horn:": "📯",
|
||||
":children_crossing:": "🚸",
|
||||
":tooth:": "🦷",
|
||||
":ship:": "🚢",
|
||||
":airplane:": "✈️",
|
||||
":crescent_moon:": "🌙",
|
||||
":hear_no_evil:": "🙉",
|
||||
":flashlight:": "🔦",
|
||||
":crab:": "🦀",
|
||||
":kangaroo:": "🦘",
|
||||
":books:": "📚",
|
||||
":watch:": "⌚",
|
||||
":pig:": "🐷",
|
||||
":battery:": "🔋",
|
||||
":joystick:": "🕹",
|
||||
":mag_right:": "🔎",
|
||||
":monkey:": "🐒",
|
||||
":ambulance:": "🚑",
|
||||
":control_knobs:": "🎛",
|
||||
":keycap_ten:": "🔟",
|
||||
":mango:": "🥭",
|
||||
":black_nib:": "✒️",
|
||||
":man_juggling:": "🤹♂️",
|
||||
":printer:": "🖨",
|
||||
":pencil2:": "✏️",
|
||||
":clock7:": "🕖",
|
||||
":interrobang:": "⁉️",
|
||||
":european_post_office:": "🏤",
|
||||
":blue_car:": "🚙",
|
||||
":moon_cake:": "🥮",
|
||||
":horse:": "🐴",
|
||||
":woman_student:": "👩🎓",
|
||||
":incoming_envelope:": "📨",
|
||||
":man_in_lotus_position:": "🧘♂️",
|
||||
":mouse:": "🐭",
|
||||
":man_zombie:": "🧟♂️",
|
||||
":ferris_wheel:": "🎡",
|
||||
":broom:": "🧹",
|
||||
":monorail:": "🚝",
|
||||
":inbox_tray:": "📥",
|
||||
":wastebasket:": "🗑",
|
||||
":green_book:": "📗",
|
||||
":trolleybus:": "🚎",
|
||||
":fortune_cookie:": "🥠",
|
||||
":lobster:": "🦞",
|
||||
":arrow_down_small:": "🔽",
|
||||
":baseball:": "⚾",
|
||||
":scroll:": "📜",
|
||||
":prince:": "🤴",
|
||||
":nail_care:": "💅",
|
||||
":jack_o_lantern:": "🎃",
|
||||
":fork_and_knife:": "🍴",
|
||||
":hourglass_flowing_sand:": "⏳",
|
||||
":infinity:": "♾",
|
||||
":comet:": "☄",
|
||||
":headphones:": "🎧",
|
||||
":duck:": "🦆",
|
||||
":princess:": "👸",
|
||||
":station:": "🚉",
|
||||
":spider_web:": "🕸",
|
||||
":whale2:": "🐋",
|
||||
":new_moon_with_face:": "🌚",
|
||||
":closed_lock_with_key:": "🔐",
|
||||
":pancakes:": "🥞",
|
||||
":bento:": "🍱",
|
||||
":mountain_railway:": "🚞",
|
||||
":briefcase:": "💼",
|
||||
":new:": "🆕",
|
||||
":snowman:": "⛄",
|
||||
":no_mobile_phones:": "📵",
|
||||
":clock8:": "🕗",
|
||||
":microscope:": "🔬",
|
||||
":ramen:": "🍜",
|
||||
":black_circle:": "⚫",
|
||||
":mountain:": "⛰",
|
||||
":blowfish:": "🐡",
|
||||
":swan:": "🦢",
|
||||
":sandwich:": "🥪",
|
||||
":police_car:": "🚓",
|
||||
":ok_woman:": "🙆",
|
||||
":droplet:": "💧",
|
||||
":fast_forward:": "⏩",
|
||||
":1234:": "🔢",
|
||||
":full_moon_with_face:": "🌝",
|
||||
":smoking:": "🚬",
|
||||
":peacock:": "🦚",
|
||||
":left_speech_bubble:": "🗨",
|
||||
":bell:": "🔔",
|
||||
":dog2:": "🐕",
|
||||
":balloon:": "🎈",
|
||||
":hotdog:": "🌭",
|
||||
":first_quarter_moon_with_face:": "🌛",
|
||||
":wolf:": "🐺",
|
||||
":eyeglasses:": "👓",
|
||||
":signal_strength:": "📶",
|
||||
":curry:": "🍛",
|
||||
":carousel_horse:": "🎠",
|
||||
":envelope_with_arrow:": "📩",
|
||||
":sled:": "🛷",
|
||||
":guitar:": "🎸",
|
||||
":older_woman:": "👵",
|
||||
":cactus:": "🌵",
|
||||
":selfie:": "🤳",
|
||||
":game_die:": "🎲",
|
||||
":man_health_worker:": "👨⚕️",
|
||||
":vertical_traffic_light:": "🚦",
|
||||
":brain:": "🧠",
|
||||
":fax:": "📠",
|
||||
":camera:": "📷",
|
||||
":firecracker:": "🧨",
|
||||
":ant:": "🐜",
|
||||
":page_facing_up:": "📄",
|
||||
":woman_teacher:": "👩🏫",
|
||||
":bug:": "🐛",
|
||||
":lock:": "🔒",
|
||||
":date:": "📅",
|
||||
":fallen_leaf:": "🍂",
|
||||
":peanuts:": "🥜",
|
||||
":slot_machine:": "🎰",
|
||||
":skull_and_crossbones:": "☠",
|
||||
":nerd_face:": "🤓",
|
||||
":mans_shoe:": "👞",
|
||||
":coconut:": "🥥",
|
||||
":vs:": "🆚",
|
||||
":tophat:": "🎩",
|
||||
":eight:": "8️⃣",
|
||||
":angel:": "👼",
|
||||
":calendar:": "📆",
|
||||
":credit_card:": "💳",
|
||||
":honey_pot:": "🍯",
|
||||
":pirate_flag:": "🏴☠️",
|
||||
":tractor:": "🚜",
|
||||
":shower:": "🚿",
|
||||
":pig_nose:": "🐽",
|
||||
":busts_in_silhouette:": "👥",
|
||||
":wrench:": "🔧",
|
||||
":softball:": "🥎",
|
||||
":motorcycle:": "🏍",
|
||||
":peace_symbol:": "☮",
|
||||
":no_smoking:": "🚭",
|
||||
":stew:": "🍲",
|
||||
":ox:": "🐂",
|
||||
":m:": "Ⓜ️",
|
||||
":bed:": "🛏",
|
||||
":panda_face:": "🐼",
|
||||
":bomb:": "💣",
|
||||
":shark:": "🦈",
|
||||
":woman_juggling:": "🤹♀️",
|
||||
":eu:": "🇪🇺",
|
||||
":dragon_face:": "🐲",
|
||||
":clapper:": "🎬",
|
||||
":footprints:": "👣",
|
||||
":ribbon:": "🎀",
|
||||
":trumpet:": "🎺",
|
||||
":mega:": "📣",
|
||||
":information_source:": "ℹ️",
|
||||
":money_mouth_face:": "🤑",
|
||||
":roller_coaster:": "🎢",
|
||||
":man_astronaut:": "👨🚀",
|
||||
":spoon:": "🥄",
|
||||
":bridge_at_night:": "🌉",
|
||||
":baby_chick:": "🐤",
|
||||
":soon:": "🔜",
|
||||
":seat:": "💺",
|
||||
":toilet:": "🚽",
|
||||
":eye:": "👁",
|
||||
":world_map:": "🗺",
|
||||
":foot:": "🦶",
|
||||
":bath:": "🛀",
|
||||
":united_nations:": "🇺🇳",
|
||||
":woman_artist:": "👩🎨",
|
||||
":canned_food:": "🥫",
|
||||
":school:": "🏫",
|
||||
":zebra:": "🦓",
|
||||
":fog:": "🌫",
|
||||
":gloves:": "🧤",
|
||||
":poultry_leg:": "🍗",
|
||||
":oncoming_automobile:": "🚘",
|
||||
":underage:": "🔞",
|
||||
":unlock:": "🔓",
|
||||
":goat:": "🐐",
|
||||
":womans_hat:": "👒",
|
||||
":hospital:": "🏥",
|
||||
":eggplant:": "🍆",
|
||||
":closed_umbrella:": "🌂",
|
||||
":sparkler:": "🎇",
|
||||
":radio:": "📻",
|
||||
":vhs:": "📼",
|
||||
":city_sunset:": "🌆",
|
||||
":golf:": "⛳",
|
||||
":keyboard:": "⌨",
|
||||
":arrows_counterclockwise:": "🔄",
|
||||
":martial_arts_uniform:": "🥋",
|
||||
":mountain_cableway:": "🚠",
|
||||
":man_technologist:": "👨💻",
|
||||
":ear_of_rice:": "🌾",
|
||||
":mrs_claus:": "🤶",
|
||||
":art:": "🎨",
|
||||
":leopard:": "🐆",
|
||||
":heavy_multiplication_x:": "✖️",
|
||||
":canoe:": "🛶",
|
||||
":heavy_dollar_sign:": "💲",
|
||||
":pregnant_woman:": "🤰",
|
||||
":wilted_flower:": "🥀",
|
||||
":truck:": "🚚",
|
||||
":meat_on_bone:": "🍖",
|
||||
":white_circle:": "⚪",
|
||||
":magnet:": "🧲",
|
||||
":cloud_with_snow:": "🌨",
|
||||
":man_scientist:": "👨🔬",
|
||||
":saxophone:": "🎷",
|
||||
":scotland:": "🏴",
|
||||
":package:": "📦",
|
||||
":european_castle:": "🏰",
|
||||
":coffin:": "⚰",
|
||||
":vibration_mode:": "📳",
|
||||
":metro:": "🚇",
|
||||
":mute:": "🔇",
|
||||
":8ball:": "🎱",
|
||||
":atom_symbol:": "⚛",
|
||||
":fish:": "🐟",
|
||||
":key:": "🔑",
|
||||
":helicopter:": "🚁",
|
||||
":oncoming_police_car:": "🚔",
|
||||
":crossed_swords:": "⚔",
|
||||
":cucumber:": "🥒",
|
||||
":tomato:": "🍅",
|
||||
":burrito:": "🌯",
|
||||
":monkey_face:": "🐵",
|
||||
":cupid:": "💘",
|
||||
":clock930:": "🕤",
|
||||
":bacon:": "🥓",
|
||||
":potato:": "🥔",
|
||||
":nut_and_bolt:": "🔩",
|
||||
":guardsman:": "💂",
|
||||
":bookmark_tabs:": "📑",
|
||||
":ticket:": "🎫",
|
||||
":sweat_drops:": "💦",
|
||||
":woman_genie:": "🧞♀️",
|
||||
":outbox_tray:": "📤",
|
||||
":woman_elf:": "🧝♀️",
|
||||
":stop_sign:": "🛑",
|
||||
":sunrise_over_mountains:": "🌄",
|
||||
":boar:": "🐗",
|
||||
":yin_yang:": "☯",
|
||||
":bread:": "🍞",
|
||||
":woman_mechanic:": "👩🔧",
|
||||
":man_student:": "👨🎓",
|
||||
":woman_scientist:": "👩🔬",
|
||||
":taxi:": "🚕",
|
||||
":pill:": "💊",
|
||||
":oncoming_taxi:": "🚖",
|
||||
":card_file_box:": "🗃",
|
||||
":microphone:": "🎤",
|
||||
":snowboarder:": "🏂",
|
||||
":minidisc:": "💽",
|
||||
":woman_singer:": "👩🎤",
|
||||
":triangular_ruler:": "📐",
|
||||
":giraffe:": "🦒",
|
||||
":chess_pawn:": "♟",
|
||||
":wedding:": "💒",
|
||||
":sos:": "🆘",
|
||||
":large_orange_diamond:": "🔶",
|
||||
":large_blue_diamond:": "🔷",
|
||||
":o:": "⭕",
|
||||
":gun:": "🔫",
|
||||
":paperclips:": "🖇",
|
||||
":clock9:": "🕘",
|
||||
":avocado:": "🥑",
|
||||
":tennis:": "🎾",
|
||||
":scorpion:": "🦂",
|
||||
":synagogue:": "🕍",
|
||||
":crocodile:": "🐊",
|
||||
":raccoon:": "🦝",
|
||||
":rosette:": "🏵",
|
||||
":couch_and_lamp:": "🛋",
|
||||
":motorway:": "🛣",
|
||||
":hiking_boot:": "🥾",
|
||||
":fox_face:": "🦊",
|
||||
":tiger2:": "🐅",
|
||||
":tokyo_tower:": "🗼",
|
||||
":heavy_minus_sign:": "➖",
|
||||
":horse_racing:": "🏇",
|
||||
":door:": "🚪",
|
||||
":goal_net:": "🥅",
|
||||
":mermaid:": "🧜♀️",
|
||||
":snake:": "🐍",
|
||||
":night_with_stars:": "🌃",
|
||||
":man_vampire:": "🧛♂️",
|
||||
":minibus:": "🚐",
|
||||
":wales:": "🏴",
|
||||
":tiger:": "🐯",
|
||||
":last_quarter_moon_with_face:": "🌜",
|
||||
":waning_gibbous_moon:": "🌖",
|
||||
":man_supervillain:": "🦹♂️",
|
||||
":violin:": "🎻",
|
||||
":paintbrush:": "🖌",
|
||||
":u5408:": "🈴",
|
||||
":clock12:": "🕛",
|
||||
":church:": "⛪",
|
||||
":person_fencing:": "🤺",
|
||||
":mailbox_with_no_mail:": "📭",
|
||||
":man_with_gua_pi_mao:": "👲",
|
||||
":slightly_smiling_face:": "🙂",
|
||||
":globe_with_meridians:": "🌐",
|
||||
":football:": "🏈",
|
||||
":microbe:": "🦠",
|
||||
":bowling:": "🎳",
|
||||
":railway_track:": "🛤",
|
||||
":woman_superhero:": "🦸♀️",
|
||||
":woman_with_headscarf:": "🧕",
|
||||
":older_adult:": "🧓",
|
||||
":performing_arts:": "🎭",
|
||||
":woman_health_worker:": "👩⚕️",
|
||||
":paperclip:": "📎",
|
||||
":hot_pepper:": "🌶",
|
||||
":statue_of_liberty:": "🗽",
|
||||
":bookmark:": "🔖",
|
||||
":lipstick:": "💄",
|
||||
":sweet_potato:": "🍠",
|
||||
":volleyball:": "🏐",
|
||||
":bar_chart:": "📊",
|
||||
":seven:": "7️⃣",
|
||||
":stopwatch:": "⏱",
|
||||
":satellite:": "📡",
|
||||
":clock10:": "🕙",
|
||||
":dumpling:": "🥟",
|
||||
":fishing_pole_and_fish:": "🎣",
|
||||
":fries:": "🍟",
|
||||
":postbox:": "📮",
|
||||
":clock5:": "🕔",
|
||||
":woman_cook:": "👩🍳",
|
||||
":man_cook:": "👨🍳"
|
||||
}
|
||||
21
src/reactions.ts
Normal file
21
src/reactions.ts
Normal file
@ -0,0 +1,21 @@
|
||||
import reactionsCbg from './reactions_cbg.json'
|
||||
import reactionsVdg from './reactions_verdigado.json'
|
||||
import * as emoji from 'node-emoji'
|
||||
|
||||
const reactions = { ...reactionsVdg, ...reactionsCbg }
|
||||
interface Mapping {
|
||||
[key: string]: string | undefined
|
||||
}
|
||||
const mapping: Mapping = {}
|
||||
let undefinedOnes = 0
|
||||
Object.keys(reactions).map((key) => {
|
||||
let foundEmoji = emoji.get(key)
|
||||
if (!foundEmoji) {
|
||||
undefinedOnes++
|
||||
foundEmoji = ''
|
||||
}
|
||||
console.log(`"${key}": "${foundEmoji}",`)
|
||||
mapping[key.replaceAll(':', '')] = foundEmoji
|
||||
})
|
||||
|
||||
console.log('Undefined reactions:', undefinedOnes)
|
||||
Loading…
Reference in New Issue
Block a user