Try searching some emojis just by running !emoji <emoji>! Ex. !emoji Heart and you bot will send you a link like JokingHazard's snippet for Google and YouTube!
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let search = context.params.event.content.split(' ').splice(1).join('%20');
let result = `https://emojipedia.org/search/?q=${search}`;
let message = context.params.event.content;
if (message.startsWith(`!emoji`)) { //You can also use this key instead of ! ${process.env.PREFIX} or ${process.env.prefix}
await lib.discord.channels['@0.0.6'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: ``,
embed: {
title: `Here is your link.`,
description: ``,
url: `https://emojipedia.org/search/?q=${search}`,
color: 0x00aa00,
thumbnail: {
url: `https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/facebook/304/orange-book_1f4d9.png`,
height: 0,
width: 0,
},
},
});
}