๐ƒ๐€๐‘๐‘๐„๐‹๐‹ ๐Œ๐”๐‚๐‡๐„๐‘๐ˆ โšก commited on
Commit
2b202fe
ยท
unverified ยท
1 Parent(s): ec81336

Update dl-mediafire.js

Browse files
Files changed (1) hide show
  1. plugins/dl-mediafire.js +4 -4
plugins/dl-mediafire.js CHANGED
@@ -1,6 +1,6 @@
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,7 +9,7 @@ const axios = require("axios");
9
 
10
 
11
  cmd({
12
- pattern: 'mediafirep',
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 {