-
-
Save whatsappxyz/4d41f985c3e75d36556e74950e4132bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { bot, getJson } = require('../lib/'); | |
| bot({ | |
| pattern: 'naruto ?(.*)', | |
| fromMe: true, | |
| desc: 'Naruto WhatsApp Status Generator', | |
| type: 'Anime🪄' | |
| }, async (message, match) => { | |
| // API से डेटा प्राप्त करें | |
| const apiUrl = 'https://raw.githubusercontent.com/mask-sir/api.mask-ser/main/Naruto.json'; | |
| const { result } = await getJson(apiUrl); | |
| // रैंडम इमेज सेलेक्ट करें | |
| const randomImage = result[Math.floor(Math.random() * result.length)]; | |
| // कैप्शन सेट करें | |
| let caption = '*Nαɾυƚσ υȥυɱαƙι*'; | |
| // इमेज भेजें | |
| return await message.sendFromUrl(randomImage, { caption }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment