xopbot
Version:
XOPBOT Is A Multipurpose Bot With Over 200+ Commands That Make You Love The Bot!
24 lines (23 loc) • 1.35 kB
JavaScript
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: "bigboobs",
cooldown: 3,
nsfw: true,
aliases: ['bigtits', 'hugetits', 'bigboobies'],
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/bigboobs/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: **Big Boobs**\n**[Provided To You By The Bot Supporters Of XOPBOT](${amazeme})**`).setImage(amazeme).setFooter(`I Want Some Milk From Those! :)`).setColor(`${color}`)
message.lineReplyNoMention({ embed: wow })
})
}
}