diff --git a/src/main.ts b/src/main.ts index d955ce2..d8543b3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -8,18 +8,15 @@ async function process_text(text: string): Promise { const codes = new Set(matches.map(([_, code]) => code)); console.log("[lmlfc-bttv]", `searching ${[...codes].length} emotes`); const emotes = await map_parallel(codes, bttv_get_url); - console.debug("matches", matches, "codes", codes, "emotes", emotes); for (const emote of matches.reverse()) { const [match, code] = emote; - console.debug("match", match, "code", code); if (emote.index == undefined) continue; const index = emote.index; if (!emotes.has(code)) continue; const url = emotes.get(code); - console.debug("index", index, "url", url); text = text.substring(0, index) +