streamer-emotes
v0.1.1
Published
A library to get Twitch, BTTV, FFZ and 7TV emotes for a given Twitch channel.
Maintainers
Readme
streamer-emotes
A library to get Twitch, BTTV, FFZ and 7TV emotes for a given Twitch channel.
Usage
import { getStreamerEmotes } from "streamer-emotes";
const emotes = await getStreamerEmotes("rubius", {
bttv: true, // Get BTTV emotes
ffz: true, // Get FFZ emotes
sevenTV: true, // Get 7TV emotes
twitch: { globals: false } // Get Twitch emotes but exclude global ones
});
console.info(emotes);Output example
{
"<provider>": { // Provider prop
"channel": [ // Channel Emotes
{
"animated": true,
"id": "string",
"images": [
{
"url": "string",
"version": "string"
}
],
"name": "string",
"provider": "string",
"zeroWidth": true // 7TV zero width emotes only
}
],
"global": [ // Global Emotes
{
"animated": false,
"id": "string",
"images": [
{
"url": "string",
"version": "string"
}
],
"name": "string",
"provider": "string",
}
]
}
}