Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save mrlinux007/ccd3afd9e402f67a4df9d2ada321ad21 to your computer and use it in GitHub Desktop.

Select an option

Save mrlinux007/ccd3afd9e402f67a4df9d2ada321ad21 to your computer and use it in GitHub Desktop.
const {
Function,
isPublic,
getString,
} = require("../lib/");
Function({
pattern: 'nm ?(.*)',
fromMe: isPublic,
desc: 'wapi generator',
type: 'whatsapp'
}, async (m, text, client) => {
let sender = '*𝑵𝑼𝑴𝑩𝑬𝑹* : ' + (m.reply_message.sender || m.mention[0] || text).split('@')[0];
await m.reply(sender)
});
Copy link

ghost commented Sep 30, 2022

Endi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment