From e6f008eec894aecbfb1be6379a53d9422945805a Mon Sep 17 00:00:00 2001 From: Nando Date: Tue, 3 Dec 2024 16:54:42 +0700 Subject: [PATCH] fix --- plugins/_events/download/autodl_ig.js | 2 +- plugins/downloader/threads.js | 2 +- plugins/downloader/twitter.js | 2 +- plugins/internet/pinterest.js | 2 +- plugins/tools/hdvideo.js | 3 ++- plugins/tools/toanime.js | 2 +- plugins/tools/tobarbie.js | 2 +- plugins/tools/tonude.js | 2 +- plugins/tools/tops2.js | 2 +- 9 files changed, 10 insertions(+), 9 deletions(-) diff --git a/plugins/_events/download/autodl_ig.js b/plugins/_events/download/autodl_ig.js index 2384afc..0054d62 100644 --- a/plugins/_events/download/autodl_ig.js +++ b/plugins/_events/download/autodl_ig.js @@ -19,7 +19,7 @@ module.exports = { }) if (!json.status) return conn.reply(m.chat, Func.jsonFormat(json), m) for (let i of json.data) { - conn.sendFile(m.chat, i.url, i.type == 'video' ? Func.filename('mp4') : Func.filename('jpg'), `🍟 *Process* : ${((new Date - old) * 1)} ms`, m) + conn.sendFile(m.chat, i.url, '', `🍟 *Process* : ${((new Date - old) * 1)} ms`, m) await Func.delay(1500) } } catch (e) { diff --git a/plugins/downloader/threads.js b/plugins/downloader/threads.js index d967f0f..4d01e8a 100644 --- a/plugins/downloader/threads.js +++ b/plugins/downloader/threads.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['threads'], use: 'link', tags: ['downloader'], diff --git a/plugins/downloader/twitter.js b/plugins/downloader/twitter.js index 3e19a73..ee1c350 100644 --- a/plugins/downloader/twitter.js +++ b/plugins/downloader/twitter.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['twitter'], use: 'link', tags: ['downloader'], diff --git a/plugins/internet/pinterest.js b/plugins/internet/pinterest.js index 6e32969..1dadad5 100644 --- a/plugins/internet/pinterest.js +++ b/plugins/internet/pinterest.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['pin'], use: 'query', tags: ['internet'], diff --git a/plugins/tools/hdvideo.js b/plugins/tools/hdvideo.js index 419bb85..52aef36 100644 --- a/plugins/tools/hdvideo.js +++ b/plugins/tools/hdvideo.js @@ -1,4 +1,5 @@ -🍟 *Process*🍟 *Process*module.exports = { + +module.exports = { help: ['hdvideo'], use: 'reply video', tags: ['tools'], diff --git a/plugins/tools/toanime.js b/plugins/tools/toanime.js index ba633f1..b282a7a 100644 --- a/plugins/tools/toanime.js +++ b/plugins/tools/toanime.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['toanime'], use: 'reply photo', tags: ['tools'], diff --git a/plugins/tools/tobarbie.js b/plugins/tools/tobarbie.js index aa1661e..c5d8192 100644 --- a/plugins/tools/tobarbie.js +++ b/plugins/tools/tobarbie.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['tobarbie'], use: 'reply photo', tags: ['tools'], diff --git a/plugins/tools/tonude.js b/plugins/tools/tonude.js index 2512a35..bc834d0 100644 --- a/plugins/tools/tonude.js +++ b/plugins/tools/tonude.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['tonude'], use: 'reply photo', tags: ['tools'], diff --git a/plugins/tools/tops2.js b/plugins/tools/tops2.js index 17dba24..aa7acc3 100644 --- a/plugins/tools/tops2.js +++ b/plugins/tools/tops2.js @@ -1,4 +1,4 @@ -🍟 *Process*🍟 *Process*module.exports = { +module.exports = { help: ['tops2'], use: 'reply photo', tags: ['tools'],