Add reaction mapping
This commit is contained in:
parent
f1f7d5905c
commit
cbd37d0a1a
@ -1,295 +0,0 @@
|
|||||||
{
|
|
||||||
":thumbsup:": "👍",
|
|
||||||
":partying_face:": "🥳",
|
|
||||||
":smiling_face_with_3_hearts:": "🥰",
|
|
||||||
":thumbsdown:": "👎",
|
|
||||||
":netzbegruenung:": "🌻",
|
|
||||||
":slight_smile:": "🙂",
|
|
||||||
":thumbsup_tone1:": "👍",
|
|
||||||
":hugging:": "🤗",
|
|
||||||
":fingers_crossed:": "🤞",
|
|
||||||
":rolling_eyes:": "🙄",
|
|
||||||
":champagne_glass:": "🥂",
|
|
||||||
":upside_down:": "🙃",
|
|
||||||
":nerd:": "🤓",
|
|
||||||
":zany_face:": "🤪",
|
|
||||||
":thumbup:": "👍",
|
|
||||||
":thinking_face:": "🤔",
|
|
||||||
":nb:": "🌻",
|
|
||||||
":face_palm:": "🤦",
|
|
||||||
":vulcan:": "🖖",
|
|
||||||
":verdigado:": "🌻",
|
|
||||||
":+1_tone1:": "👍",
|
|
||||||
":man_raising_hand:": "🙋",
|
|
||||||
":raising_hand:": "🙋",
|
|
||||||
":slight_frown:": "🙁",
|
|
||||||
":frowning2:": "🙁",
|
|
||||||
":face_with_monocle:": "🧐",
|
|
||||||
":bee:": "🐝",
|
|
||||||
":clown:": "🤡",
|
|
||||||
":love_you_gesture:": "🤟",
|
|
||||||
":thumbsup_tone3:": "👍",
|
|
||||||
":shrug:": "🤷",
|
|
||||||
":face_with_symbols_over_mouth:": "🤬",
|
|
||||||
":face_vomiting:": "🤮",
|
|
||||||
":+1_tone2:": "👍",
|
|
||||||
":call_me:": "🤙",
|
|
||||||
":zipper_mouth:": "🤐",
|
|
||||||
":person_facepalming:": "🤦",
|
|
||||||
":person_raising_hand:": "🙋",
|
|
||||||
":peace:": "☮️",
|
|
||||||
":head_bandage:": "🤕",
|
|
||||||
":woozy_face:": "🥴",
|
|
||||||
":face_with_hand_over_mouth:": "🤭",
|
|
||||||
":beach:": "🏖️",
|
|
||||||
":money_mouth:": "🤑",
|
|
||||||
":woman_raising_hand:": "🙋",
|
|
||||||
":hand_splayed:": "🖐",
|
|
||||||
":face_with_raised_eyebrow:": "🤨",
|
|
||||||
":person_shrugging:": "🤷",
|
|
||||||
":heart_exclamation:": "❣️",
|
|
||||||
":thumbsup_tone4:": "👍",
|
|
||||||
":cloud_rain:": "🌧️",
|
|
||||||
":rolling_on_the_floor_laughing:": "🤣",
|
|
||||||
":thumbsup_tone2:": "👍",
|
|
||||||
":bicyclist:": "🚴",
|
|
||||||
":wave_tone1:": "👋",
|
|
||||||
":first_place:": "🥇",
|
|
||||||
":calendar_spiral:": "📆",
|
|
||||||
":telephone:": "☎️",
|
|
||||||
":flag_ua:": "🇺🇦",
|
|
||||||
":thermometer_face:": "🤒",
|
|
||||||
":clap_tone1:": "👏",
|
|
||||||
":right_facing_fist:": "🤜",
|
|
||||||
":pencil:": "✏️",
|
|
||||||
":desktop:": "🖥️",
|
|
||||||
":punch:": "👊",
|
|
||||||
":flag_eu:": "🇪🇺",
|
|
||||||
":cold_face:": "🥶",
|
|
||||||
":people_with_bunny_ears_partying:": "👯",
|
|
||||||
":shushing_face:": "🤫",
|
|
||||||
":fox:": "🦊",
|
|
||||||
":man_raising_hand_tone1:": "🙋",
|
|
||||||
":snowman2:": "☃️",
|
|
||||||
":pleading_face:": "🥺",
|
|
||||||
":island:": "🏝️",
|
|
||||||
":hot_face:": "🥵",
|
|
||||||
":woman_biking:": "🚴",
|
|
||||||
":palms_up_together:": "🤲",
|
|
||||||
":men_with_bunny_ears_partying:": "👯",
|
|
||||||
":person_doing_cartwheel:": "🤸",
|
|
||||||
":person_biking:": "🚴",
|
|
||||||
":superhero:": "🦸",
|
|
||||||
":lion_face:": "🦁",
|
|
||||||
":cowboy:": "🤠",
|
|
||||||
":spy:": "🕵",
|
|
||||||
":house_buildings:": "🏘️",
|
|
||||||
":gay_pride_flag:": "🏳️🌈",
|
|
||||||
":information_desk_person:": "💁",
|
|
||||||
":sleeping_accommodation:": "🛌",
|
|
||||||
":person_lifting_weights:": "🏋",
|
|
||||||
":left_facing_fist:": "🤛",
|
|
||||||
":park:": "🏞️",
|
|
||||||
":fork_knife_plate:": "🍽️",
|
|
||||||
":military_medal:": "🎖️",
|
|
||||||
":raised_hands_tone3:": "🙋",
|
|
||||||
":woman_running:": "🏃",
|
|
||||||
":woman_lifting_weights:": "🏋",
|
|
||||||
":camera_with_flash:": "📸",
|
|
||||||
":wilted_rose:": "🥀",
|
|
||||||
":man_gesturing_no:": "🙅",
|
|
||||||
":female_sign:": "♀️",
|
|
||||||
":digit_one:": "1️⃣",
|
|
||||||
":dancers:": "👯",
|
|
||||||
":medal:": "🏅",
|
|
||||||
":pray_tone1:": "🙏",
|
|
||||||
":shit:": "💩",
|
|
||||||
":vulcan_tone1:": "🖖",
|
|
||||||
":fairy:": "🧚",
|
|
||||||
":cooking:": "🍳",
|
|
||||||
":detective:": "🕵️",
|
|
||||||
":man_biking:": "🚴",
|
|
||||||
":microphone2:": "🎤",
|
|
||||||
":kiwi:": "🥝",
|
|
||||||
":shirt:": "👕",
|
|
||||||
":ok_hand_tone1:": "👌",
|
|
||||||
":middle_finger:": "🖕",
|
|
||||||
":compression:": "🗜️",
|
|
||||||
":woman_gesturing_ok:": "🙆",
|
|
||||||
":race_car:": "🏎️",
|
|
||||||
":salad:": "🥗",
|
|
||||||
":raised_hand_with_part_between_middle_and_ring_fingers:": "🖖",
|
|
||||||
":digit_two:": "2️⃣",
|
|
||||||
":skull_crossbones:": "☠️",
|
|
||||||
":pray_tone2:": "🙏",
|
|
||||||
":woman_raising_hand_tone2:": "🙋",
|
|
||||||
":scooter:": "🛴",
|
|
||||||
":lifter:": "🏋",
|
|
||||||
":couch:": "🛋️",
|
|
||||||
":surfer:": "🏄",
|
|
||||||
":women_with_bunny_ears_partying:": "👯",
|
|
||||||
":cloud_tornado:": "🌪",
|
|
||||||
":digit_three:": "3️⃣",
|
|
||||||
":t_rex:": "🦖",
|
|
||||||
":woman_raising_hand_light_skin_tone:": "🙋",
|
|
||||||
":flag_dk:": "🇩🇰",
|
|
||||||
":man_rowing_boat:": "🚣",
|
|
||||||
":person_rowing_boat:": "🚣",
|
|
||||||
":thumbsdown_tone1:": "👎",
|
|
||||||
":map:": "🗺️",
|
|
||||||
":person_in_lotus_position:": "🧘",
|
|
||||||
":man_mage:": "🧙",
|
|
||||||
":digit_four:": "4️⃣",
|
|
||||||
":homes:": "🏘️",
|
|
||||||
":flame:": "🔥",
|
|
||||||
":woman_detective:": "🕵️",
|
|
||||||
":wind_blowing_face:": "🌬",
|
|
||||||
":woman_red_haired:": "🧑🦰",
|
|
||||||
":massage:": "💆",
|
|
||||||
":white_sun_small_cloud:": "🌤️",
|
|
||||||
":juggling:": "🤹",
|
|
||||||
":shaking_hands:": "🤝",
|
|
||||||
":man_running:": "🏃",
|
|
||||||
":woman_construction_worker:": "👷",
|
|
||||||
":construction_site:": "🚧",
|
|
||||||
":love_you_gesture_medium_light_skin_tone:": "🤟",
|
|
||||||
":hugging_face:": "🤗",
|
|
||||||
":person_getting_massage:": "💆",
|
|
||||||
":woman_climbing:": "🧗",
|
|
||||||
":fingers_crossed_tone1:": "🤞",
|
|
||||||
":flag_de:": "🇩🇪",
|
|
||||||
":sports_medal:": "🏅",
|
|
||||||
":no_good:": "🙅",
|
|
||||||
":man_facepalming_light_skin_tone:": "🤦",
|
|
||||||
":tools:": "🛠️",
|
|
||||||
":flag_nl:": "🇳🇱",
|
|
||||||
":medical_symbol:": "⚕️",
|
|
||||||
":drum_with_drumsticks:": "🥁",
|
|
||||||
":woman_running_tone1:": "🏃",
|
|
||||||
":asterisk_symbol:": "✳️",
|
|
||||||
":woman_white_haired:": "🧑🦳",
|
|
||||||
":hand_splayed_tone1:": "🖐",
|
|
||||||
":woman_mage:": "🧙",
|
|
||||||
":construction_worker:": "👷",
|
|
||||||
":key2:": "🗝️",
|
|
||||||
":clock:": "⏲",
|
|
||||||
":thumbdown:": "👎",
|
|
||||||
":bow:": "🏹",
|
|
||||||
":woman_swimming:": "🏊",
|
|
||||||
":hammer_pick:": "⚒️",
|
|
||||||
":feet:": "🐾",
|
|
||||||
":dove_of_peace:": "🕊️",
|
|
||||||
":flag_ru:": "🇷🇺",
|
|
||||||
":leafy_green:": "🥬",
|
|
||||||
":projector:": "📽️",
|
|
||||||
":woman_shrugging_tone1:": "🤷",
|
|
||||||
":raised_hands_tone1:": "🙌",
|
|
||||||
":leg_tone1:": "🦵",
|
|
||||||
":thunder_cloud_rain:": "⛈️",
|
|
||||||
":octagonal_sign:": "🛑",
|
|
||||||
":man_lifting_weights:": "🏋",
|
|
||||||
":milk:": "🥛",
|
|
||||||
":card_box:": "🗃️",
|
|
||||||
":house_abandoned:": "🏚️",
|
|
||||||
":flag_is:": "🇮🇸",
|
|
||||||
":beach_with_umbrella:": "🏖️",
|
|
||||||
":envelope:": "✉️",
|
|
||||||
":sick:": "🤢",
|
|
||||||
":cartwheel:": "🤸",
|
|
||||||
":swimmer:": "🏊",
|
|
||||||
":person_juggling:": "🤹",
|
|
||||||
":person_shrugging_tone1:": "🤷",
|
|
||||||
":metal_tone1:": "🤘",
|
|
||||||
":merperson:": "🧜",
|
|
||||||
":person_swimming:": "🏊",
|
|
||||||
":police_officer:": "👮",
|
|
||||||
":digit_five:": "5️⃣",
|
|
||||||
":airplane_arriving:": "🛬",
|
|
||||||
":flag_it:": "🇮🇹",
|
|
||||||
":man_white_haired:": "🧑🦳",
|
|
||||||
":man_shrugging_light_skin_tone:": "🤷",
|
|
||||||
":scales:": "⚖️",
|
|
||||||
":man_raising_hand_tone2:": "🙋",
|
|
||||||
":blue_circle:": "🔵",
|
|
||||||
":cross:": "✝️",
|
|
||||||
":couple_with_heart:": "💑",
|
|
||||||
":walking:": "🚶",
|
|
||||||
":man_rowing_boat_dark_skin_tone:": "🚣",
|
|
||||||
":gb:": "🇬🇧",
|
|
||||||
":person_in_bed_medium_light_skin_tone:": "🛌",
|
|
||||||
":bricks:": "🧱",
|
|
||||||
":middle_finger_tone1:": "🖕",
|
|
||||||
":muscle_tone1:": "💪",
|
|
||||||
":person_running:": "🏃",
|
|
||||||
":woman_raising_hand_tone1:": "🙋",
|
|
||||||
":flag_fr:": "🇫🇷",
|
|
||||||
":newspaper2:": "🗞️",
|
|
||||||
":shrug_tone1:": "🤷",
|
|
||||||
":person_tipping_hand:": "💁",
|
|
||||||
":levitate:": "🕴️",
|
|
||||||
":man_gesturing_no_medium_light_skin_tone:": "🙅",
|
|
||||||
":clap_tone2:": "👏",
|
|
||||||
":woman_tipping_hand:": "💁",
|
|
||||||
":woman_police_officer:": "👮",
|
|
||||||
":flag_white:": "🏳️",
|
|
||||||
":woman_gesturing_no:": "🙅",
|
|
||||||
":pen_fountain:": "🖋️",
|
|
||||||
":family:": "👪",
|
|
||||||
":billed_cap:": "🧢",
|
|
||||||
":flag_be:": "🇧🇪",
|
|
||||||
":curly_haired:": "🧑🦱",
|
|
||||||
":woman_shrugging_medium_light_skin_tone:": "🤷",
|
|
||||||
":man_red_haired:": "🧑🦰",
|
|
||||||
":mountain_bicyclist:": "🚴",
|
|
||||||
":person_mountain_biking:": "🚴",
|
|
||||||
":man_bowing:": "🙇",
|
|
||||||
":umbrella2:": "☂️",
|
|
||||||
":helmet_with_cross:": "⛑️",
|
|
||||||
":man_mountain_biking_tone1:": "🚴",
|
|
||||||
":womans_flat_shoe:": "🥿",
|
|
||||||
":film_frames:": "🎞️",
|
|
||||||
":person_with_blond_hair:": "👱",
|
|
||||||
":man_surfing:": "🏄",
|
|
||||||
":blond-haired_man_light_skin_tone:": "👱",
|
|
||||||
":satellite_orbital:": "🛰️",
|
|
||||||
":man_gesturing_ok:": "🙆",
|
|
||||||
":dancer_tone1:": "💃",
|
|
||||||
":frame_photo:": "🖼️",
|
|
||||||
":kiss_ww:": "💏",
|
|
||||||
":man_swimming:": "🏊",
|
|
||||||
":first_place_medal:": "🥇",
|
|
||||||
":man_tipping_hand:": "💁",
|
|
||||||
":point_up_tone4:": "☝️",
|
|
||||||
":mage_tone2:": "🧙",
|
|
||||||
":male_sign:": "♂️",
|
|
||||||
":se:": "🇸🇪",
|
|
||||||
":person_gesturing_ok:": "🙆",
|
|
||||||
":person_gesturing_no_tone2:": "🙅",
|
|
||||||
":cut_of_meat:": "🥩",
|
|
||||||
":digit_zero:": "0️⃣",
|
|
||||||
":mage:": "🧙",
|
|
||||||
":v_tone1:": "✌",
|
|
||||||
":goal:": "🥅",
|
|
||||||
":genie:": "🧞",
|
|
||||||
":pudding:": "🍮",
|
|
||||||
":fleur-de-lis:": "⚜️",
|
|
||||||
":woman_curly_haired:": "🧑🦱",
|
|
||||||
":blond-haired_woman:": "👱",
|
|
||||||
":person_in_steamy_room:": "🧖",
|
|
||||||
":person_bowing:": "🙇",
|
|
||||||
":white_sun_behind_cloud_with_rain:": "🌦️",
|
|
||||||
":+1_tone4:": "👍",
|
|
||||||
":woman_getting_face_massage:": "💆",
|
|
||||||
":bellhop:": "🛎️",
|
|
||||||
":pound_symbol:": "💷",
|
|
||||||
":digit_seven:": "7️⃣",
|
|
||||||
":airplane_departure:": "🛫",
|
|
||||||
":man_construction_worker:": "👷",
|
|
||||||
":runner:": "🏃",
|
|
||||||
":regional_indicator_b:": "🇧",
|
|
||||||
":regional_indicator_a:": "🇦",
|
|
||||||
":timer:": "⏲️",
|
|
||||||
":woman_getting_haircut:": "💇",
|
|
||||||
":person_getting_haircut:": "💇",
|
|
||||||
":man_getting_haircut:": "💇"
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
|||||||
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