Get all current ChannelEmotes - !emotes
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let result = await lib.twitch.chat['@1.0.0'].emotes.list({
broadcaster_id: context.params.event.channel.id,
});
let emotes = result.data;
let emoteString = '';
emotes.forEach((emote) => {
emoteString += emote.name + ' ';
});
let response = await lib.twitch.chat['@1.0.0'].messages.create({
channel_id: `${context.params.event.channel.id}`,
content: `Here are all the ChannelEmotes: ${emoteString}`,
});