𝗗𝗔π—₯π—₯π—˜π—Ÿπ—Ÿ π— π—¨π—–π—›π—˜π—₯π—œ ⚑ commited on
Commit
145eb14
Β·
unverified Β·
1 Parent(s): 871c855

Update img.js

Browse files
Files changed (1) hide show
  1. plugins/img.js +2 -2
plugins/img.js CHANGED
@@ -39,7 +39,7 @@ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sen
39
 
40
  // Fetch image URLs from Google Custom Search API
41
  const searchQuery = encodeURIComponent(q);
42
- const url = `https://www.googleapis.com/customsearch/v1?q=${searchQuery}&cx=${GOOGLE_CX}&key=${GOOGLE_API_KEY}&searchType=image&num=5`;
43
 
44
  const response = await axios.get(url);
45
  const data = response.data;
@@ -64,7 +64,7 @@ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sen
64
 
65
  *Enjoy these images! πŸ‘Ύ*
66
 
67
- > 🌈*KERM_MD-V4 BOT PLUGINS*🏝️`
68
  }, { quoted: mek });
69
  }
70
 
 
39
 
40
  // Fetch image URLs from Google Custom Search API
41
  const searchQuery = encodeURIComponent(q);
42
+ const url = `https://api.giftedtech.my.id/api/search/googleimage?apikey=gifted&query=${searchQuery}&cx=${GOOGLE_CX}&key=${GOOGLE_API_KEY}&searchType=image&num=5`;
43
 
44
  const response = await axios.get(url);
45
  const data = response.data;
 
64
 
65
  *Enjoy these images! πŸ‘Ύ*
66
 
67
+ > 🌈*SUBZERO BOT PLUGINS*🏝️`
68
  }, { quoted: mek });
69
  }
70