// Name: Emoji Finder// Description: Search for emojis and copy to clipboard// Author: Peter Wangimport '@johnlindquist/kit'const API_KEY = await env('OPEN_EMOJI_API')const emo = await arg('Emoji name')const response = await get(`https://emoji-api.com/emojis?search=${emo}&access_key=${API_KEY}`)const emojis = response.data.map(({character}) => character)if (emojis?.length) {const emoji = await arg('Pick your emoji', () => emojis)await copy(emoji)} else {div(md('## No emoji found!'))}