Created
October 27, 2023 02:24
-
-
Save I-NRL/1e30bafd155d80d45ea8fc46553ac94c to your computer and use it in GitHub Desktop.
send message to your dm
This file contains 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 { inrl } = require('../lib') | |
inrl( | |
{ | |
pattern: 'save ?(.*)', | |
fromMe: true, | |
desc: 'send message to your pm', | |
type: 'whatsapp', | |
}, | |
async (message, match) => { | |
if (!message.reply_message.msg) return await message.send('*reply to a message*'); | |
return await message.forwardMessage(message.client.user.jid, message.quoted.type == 'conversation' ? message.quoted.text : message.quoted, {quoted:message.quoted.data}) | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/inrl-official/1e30bafd155d80d45ea8fc46553ac94c