Spaces:
Paused
Paused
๐๐๐๐๐๐๐ ๐๐๐๐๐๐๐ โก
commited on
Update dl-mediafire.js
Browse files- plugins/dl-mediafire.js +4 -4
plugins/dl-mediafire.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
|
| 2 |
|
| 3 |
-
|
| 4 |
const { cmd, commands } = require('../command');
|
| 5 |
const { fetchJson } = require('../lib/functions');
|
| 6 |
const axios = require("axios");
|
|
@@ -9,7 +9,7 @@ const axios = require("axios");
|
|
| 9 |
|
| 10 |
|
| 11 |
cmd({
|
| 12 |
-
pattern: '
|
| 13 |
desc: 'Download MediaFire files',
|
| 14 |
category: 'download',
|
| 15 |
filename: __filename
|
|
@@ -41,7 +41,7 @@ cmd({
|
|
| 41 |
const text = body.trim().replace(command, '').trim();
|
| 42 |
if (!text) return reply(`*Example*: ${command} https://www.mediafire.com/file/n6tgcrktbnov1oy/Queen_Anita-V4.zip/file`);
|
| 43 |
|
| 44 |
-
await reply('> *Processing...*');
|
| 45 |
|
| 46 |
const apiUrl = `https://api.davidcyriltech.my.id/mediafire?url=${encodeURIComponent(text)}`;
|
| 47 |
|
|
@@ -61,7 +61,7 @@ cmd({
|
|
| 61 |
document: { url: downloadLink },
|
| 62 |
mimetype: mimeType,
|
| 63 |
fileName: fileName,
|
| 64 |
-
caption: `๐ฆ *File Name:* ${fileName}\n\n> แดแดแดกแดสแดแด
สส
|
| 65 |
}, { quoted: m });
|
| 66 |
return;
|
| 67 |
} else {
|
|
|
|
| 1 |
|
| 2 |
|
| 3 |
+
const config = require('../config');
|
| 4 |
const { cmd, commands } = require('../command');
|
| 5 |
const { fetchJson } = require('../lib/functions');
|
| 6 |
const axios = require("axios");
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
cmd({
|
| 12 |
+
pattern: 'mediafirepro',
|
| 13 |
desc: 'Download MediaFire files',
|
| 14 |
category: 'download',
|
| 15 |
filename: __filename
|
|
|
|
| 41 |
const text = body.trim().replace(command, '').trim();
|
| 42 |
if (!text) return reply(`*Example*: ${command} https://www.mediafire.com/file/n6tgcrktbnov1oy/Queen_Anita-V4.zip/file`);
|
| 43 |
|
| 44 |
+
await reply('> *Subzero Processing...*');
|
| 45 |
|
| 46 |
const apiUrl = `https://api.davidcyriltech.my.id/mediafire?url=${encodeURIComponent(text)}`;
|
| 47 |
|
|
|
|
| 61 |
document: { url: downloadLink },
|
| 62 |
mimetype: mimeType,
|
| 63 |
fileName: fileName,
|
| 64 |
+
caption: `๐ฆ *File Name:* ${fileName}\n\n> แดแดแดกแดสแดแด
สส แดส าสแดษดแด`
|
| 65 |
}, { quoted: m });
|
| 66 |
return;
|
| 67 |
} else {
|