reloadBadges

Re-fetch all badges of a channel

Example

import { reloadBadges } from "emotettv";

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

API

reloadBadges(...)

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

Forcefully reload global and channel badges 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

circle-info

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