Closed doceazedo closed 2 years ago
Add an options parameter for more flexibility and remove channelId in favor of it.
options
channelId
type ParseEmotesOptions = { channelId?: string; thirdPartyProviders?: { bttv?: boolean; ffz?: boolean; }; customEmotes: EmotesFactory | EmotesFactory[] }
Descriptions:
thirdPartyProviders
customEmotes
All third-party providers will be defaulted to true.
Add an
options
parameter for more flexibility and removechannelId
in favor of it.Descriptions:
channelId
being optional will allow the use of only global or custom emotesthirdPartyProviders
will allow to toggle third-party emotes and help adding others in the futurecustomEmotes
will allow the use of custom emote factories, provided by the userAll third-party providers will be defaulted to true.