UNPKG

xopbot

Version:

XOPBOT Is A Multipurpose Bot With Over 200+ Commands That Make You Love The Bot!

23 lines 1.32 kB
const discord = require("discord.js"); const got = require("got"); //MAKE SURE TO INSTALL THE PACKAGE "GOT" ELSE THE CODE WOULD NOT WORK const lineReplyNoMention = require('discord-reply'); const color = process.env.Color; module.exports = { name: "bikinis", cooldown: 3, nsfw: true, aliases: ['bikini'], permissions: ["SEND_MESSAGES"], clientpermissions: ["SEND_MESSAGES", "EMBED_LINKS"], category: "NSFW", description: "Sends random bigboobs", usage: "[command]", async execute(client, message, cmd, args, Discord) { if (!message.channel.nsfw) return message.lineReplyNoMention({ content: '**This Is Not A NSFW Channel! 🔞**' }); got('https://www.reddit.com/r/bikinis/random.json').then(response => { let content = JSON.parse(response.body); var title = content[0].data.children[0].data.title; var amazeme = content[0].data.children[0].data.url; let wow = new discord.MessageEmbed().setTimestamp().setDescription(`:underage: **Bikinis**\n**[Provided To You By The Bot Supporters Of XOPBOT](${amazeme})**`).setImage(amazeme).setFooter(`That Bikini Is So Sexy On You! :)`).setColor(`${color}`) message.lineReplyNoMention({ embed: wow }) }) } }