Skip to content

Instantly share code, notes, and snippets.

@mistershubhamkumar
Forked from whatsappxyz/Naruto.js
Created May 10, 2025 15:31
Show Gist options
  • Select an option

  • Save mistershubhamkumar/4e5e65377860d85bb98cd045bb2798da to your computer and use it in GitHub Desktop.

Select an option

Save mistershubhamkumar/4e5e65377860d85bb98cd045bb2798da to your computer and use it in GitHub Desktop.
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