-
-
Save missnora07/80923e582123660229f06337d76c4016 to your computer and use it in GitHub Desktop.
Sample plugin to send text, image & video
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 {Module} = require('../main') | |
const {skbuffer} = require('raganork-bot'); | |
const {MODE} = require('../config'); | |
let auto = MODE == 'public' ? false : true | |
Module({ | |
pattern: 'image ?(.*)', | |
fromMe: auto, | |
desc: 'Sends image', | |
use: 'utility', | |
}, async (m,t) => { | |
await m.client.sendMessage(m.jid,{image:{url: 'https://i.imgur.com/c3brJQR.jpeg'}. caption: "INNAAA"},'image') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment