twitch-emote
Version:
splice twitch emotes from a message string
8 lines (7 loc) • 568 B
TypeScript
import { EmoteData } from './types';
export { ApiResponseTypes, ApiResponseHeaders, ApiResponse } from './api';
export * from './cache';
export * from './types';
export * from './util';
export declare function spliceMessage<T>(message: string, channel: string, callback?: (emote: EmoteData) => string | T, withEmotes?: string, strictTwitchEmotes?: boolean): (string | T)[];
export declare function splitMessage<T>(message: string, channel: string, callback?: (emote: EmoteData) => string | T, withEmotes?: string, strictTwitchEmotes?: boolean): (string | T)[];