Skip to content

Instantly share code, notes, and snippets.

@missnora07
Last active February 23, 2023 10:42
Show Gist options
  • Save missnora07/facf67e531f2854392e5fb6b04a24d01 to your computer and use it in GitHub Desktop.
Save missnora07/facf67e531f2854392e5fb6b04a24d01 to your computer and use it in GitHub Desktop.
//api not mine
const {Module} = require('../main')
const {skbuffer} = require('raganork-bot');
const {MODE} = require('../config');
let auto = MODE == 'public' ? false : true
Module({
pattern: 'noty ?(.*)',
fromMe: auto,
desc: 'Sends image',
use: 'utility',
}, async (m,t) => {
await m.sendReply({url:'https://api.violetics.pw/api/asupan/vietnam?apikey=2925-c076-9df7'},'image')
});
@missnora07
Copy link
Author

Hey @missnora07, thanks for making these plugins.

m.send()
m.sendMessage()
m.sendReply()

All can be used. If you need more cool stuff, I will hand over you the more APIs Raganork network's APIs.

thanks🥰

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