diff --git a/src/index.ts b/src/index.ts index c6b2283..4e9df31 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,6 +43,7 @@ app.get('/api/dist/betterdiscord', async c => { }); }); +/* app.get('/api/dist/vencord', async c => { const response = await fetch('https://raw.githubusercontent.com/Pitu/Magane/master/dist/magane.vencord.js'); if (!response.ok) return c.json({ message: 'Failed to fetch plugin' }, 500); @@ -54,6 +55,7 @@ app.get('/api/dist/vencord', async c => { } }); }); +*/ app.get('/api/proxy/emoji/:id', async c => { const { id } = c.req.param(); @@ -66,7 +68,8 @@ app.get('/api/proxy/emoji/:id', async c => { const title = /]*>([^<]+)<\/title>/.exec(data)?.[1]?.split(' – LINE Emoji | LINE STORE')[0]; const len = (data.match(/FnStickerPreviewItem/g) ?? []).length; - return c.json({ title, id, len }); + const hasAnimation = /MdIcoPlay_b/g.test(data); + return c.json({ title, id, len, hasAnimation }); }); app.get('/api/proxy/sticker/:id', async c => { diff --git a/src/static/index.html b/src/static/index.html index 4a349d3..e39ccb6 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -142,8 +142,8 @@

My other projects

-

If you are a Vencord user you need to download the plugin and compile Vencord yourself. You can find out how by following our guide. -

Download magane.vencord.js

+

If you are a Vencord user you need to download the plugin and compile Vencord yourself. You can find out how by following our guide: +

How to use in Vencord?