diff --git a/src/sticker.ts b/src/sticker.ts index 1921ced..454698c 100644 --- a/src/sticker.ts +++ b/src/sticker.ts @@ -33,8 +33,8 @@ function isStickerAvailable(sticker: Sticker): boolean { return false; } -export async function spoofSticker(sticker: Sticker): Promise { - if (isStickerAvailable(sticker)) return; +export async function spoofSticker(sticker: Sticker): Promise { + if (isStickerAvailable(sticker)) return false; const url = getUrl(sticker); @@ -48,7 +48,7 @@ export async function spoofSticker(sticker: Sticker): Promise { renderedImage = await renderPng(arrayBuffer); break; default: // TODO: implement Apng and Lottie - return; + return true; } files.addFile({ @@ -62,4 +62,6 @@ export async function spoofSticker(sticker: Sticker): Promise { }), }, }); + + return true; }