Something went wrong. Try again.
Gets Twitch, BTTV, FFZ and 7TV emotes as well as parsing text to emotes! kody.tngl.io/twitch-emoticons
Something went wrong. Try again.
1234567891011121314import BTTVEmote from './BTTVEmote.js'import FFZEmote from './FFZEmote.js'import SevenTVEmote from './SevenTVEmote.js'import TwitchEmote from './TwitchEmote.js'
class EmoteTypeMapper { static getClassByType (type) { const classMap = { BTTVEmote, FFZEmote, SevenTVEmote, TwitchEmote } return classMap[type] || null }}
export default EmoteTypeMapper