𝗗𝗔π—₯π—₯π—˜π—Ÿπ—Ÿ π— π—¨π—–π—›π—˜π—₯π—œ ⚑ commited on
Commit
53783a5
Β·
unverified Β·
1 Parent(s): b6bb983

Update ytdl.js

Browse files
Files changed (1) hide show
  1. plugins/ytdl.js +2 -2
plugins/ytdl.js CHANGED
@@ -217,7 +217,7 @@ cmd({
217
  }) => {
218
  try {
219
  if (!_0x380df9) {
220
- return _0x233cc6("Please give me a URL or title.");
221
  }
222
  _0x380df9 = convertYouTubeLink(_0x380df9);
223
  const _0x54cf3a = await yts(_0x380df9);
@@ -247,7 +247,7 @@ cmd({
247
  'key': _0x25ddf5.key
248
  }
249
  });
250
- const _0x1cc9d0 = await fetchJson('https://api.giftedtech.my.id/api/download/ytmp3v2?apikey=gifted&url=' + _0x5ed25e);//https://api.giftedtech.my.id/api/download/dlmp3q?apikey=gifted&quality=128&url= //https://api.giftedtech.my.id/api/download/ytmp3v2?apikey=gifted&url=https://youtu.be/qHDJSRlNhVs?feature=shared
251
  const _0x5741ec = _0x1cc9d0.result.download_url;
252
  await _0x5351f6.sendMessage(_0x3277a3, {
253
  'delete': _0x166c67.key
 
217
  }) => {
218
  try {
219
  if (!_0x380df9) {
220
+ return _0x233cc6("Please give me a URL or title. Eg .play Lily By Alan Walker");
221
  }
222
  _0x380df9 = convertYouTubeLink(_0x380df9);
223
  const _0x54cf3a = await yts(_0x380df9);
 
247
  'key': _0x25ddf5.key
248
  }
249
  });
250
+ const _0x1cc9d0 = await fetchJson('https://api.giftedtech.my.id/api/download/ytaudio?apikey=gifted&url=' + _0x5ed25e);//https://api.giftedtech.my.id/api/download/dlmp3q?apikey=gifted&quality=128&url= //https://api.giftedtech.my.id/api/download/ytmp3v2?apikey=gifted&url=https://youtu.be/qHDJSRlNhVs?feature=shared // https://api.giftedtech.my.id/api/download/ytmp3v2?apikey=gifted&url=
251
  const _0x5741ec = _0x1cc9d0.result.download_url;
252
  await _0x5351f6.sendMessage(_0x3277a3, {
253
  'delete': _0x166c67.key