reloadEmotes

Re-fetch all emotes of a channel

Example

import { reloadEmotes } from "emotettv";

await reloadEmotes({ channelId: "98776633" });

API

reloadEmotes(...)

reloadEmotes: (_options?: Partial<ParserOptions> | null) => Promise<void>

Forcefully reload global and channel emotes from all providers

Param
Type

_options?

Returns: Promise<void>

Types

ParserOptions

Prop
Type
Description

channelId

string | null

ID of channel badges will be fetched from

providers

List of enabled badge providers. All are active by default.

Providers

You can also add any providers you create. See custom emotes/badges guide for more information.

Prop
Type
Description

twitch

boolean

Enable Twitch badges

bttv

boolean

Enable BTTV badges

ffz

boolean

Enable FFZ badges

seventv

boolean

Enable 7TV badges

Last updated