Skip to content

Instantly share code, notes, and snippets.

@sahilsheikh-dev
Created March 23, 2021 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sahilsheikh-dev/853048c0d342cc979992fbe4e6c12d63 to your computer and use it in GitHub Desktop.
Save sahilsheikh-dev/853048c0d342cc979992fbe4e6c12d63 to your computer and use it in GitHub Desktop.
/* Codded by @sahilasheikh
Instagram: www.instagram.com/sahil.asheikh
*/
const Asena = require('../events');
const {MessageType} = require('@adiwajshing/baileys');
Asena.addCommand({pattern: 'iloveyou', fromMe: true}, (async (message, match) => {
for (let index = 0; index < 10; index++) {
await message.sendMessage('I');
await message.sendMessage('Love');
await message.sendMessage('You');
}
}));
Asena.addCommand({pattern: 'infoiloveyou', fromMe: true}, (async (message, match) => {
await message.sendMessage("*Codded by @sahil.asheikh && @begawo*\n💻Usage: *.iloveyou*\nℹ️Desc: 🇬🇧 Spam I Love You for 10 times.")
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment