Last active
December 26, 2022 20:44
-
-
Save missnora07/86ea2bc4d1d799ce66ab62b7332f9d3b to your computer and use it in GitHub Desktop.
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
//api credits not mine... | |
//adult plugin | |
//api creator toxic devil... | |
const {Module} = require('../main') | |
const Config = require('../config'); | |
const {skbuffer} = require('raganork-bot'); | |
const {MODE} = require('../config'); | |
let auto = MODE == 'public' ? false : true | |
var handler = Config.HANDLERS !== 'false'?Config.HANDLERS.split("")[0]:""; | |
Module({ | |
pattern: 'xanime ?(.*)', | |
fromMe: auto, | |
desc: 'Sends image', | |
use: 'utility', | |
}, async (m,t) => { | |
var buttons = [ | |
{buttonId: handler+"xanime", buttonText: {displayText: 'One more'}, type: 1} | |
] | |
var buttonMessage = { | |
image: {url:"https://api-toxic-devil.herokuapp.com/api/random/anime?type=nsfw"}, | |
caption: "*_NSFW IMAGES 💞_*", | |
footer: 'Anime 🔞 image photos...😍', | |
buttons: buttons, | |
headerType: 4 | |
} | |
await m.client.sendMessage(m.jid,buttonMessage) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment