cute.js 789 Bytes
const Discord = require('discord.js');
const randomPuppy = require('random-puppy');

module.exports = {
    name: 'cute',
    description: 'Embeds pictures pulled from listed subreddits',
    async run(client, message, args){
        const subreddits = [
            "aww",
            "puppies",
            "toebeans",
            "floof"
        ]
        const random = subreddits[Math.floor(Math.random()*subreddits.length)];
        const img = await randomPuppy(random);

        const cute = new Discord.MessageEmbed()
        .setTitle('Huggable buddies')
        .setDescription(`A buddy from r/${random} has come for the rescue!`)
        .setColor('#91B2C7')
        .setURL(`https://reddit.com/r/${random}`)
        .setImage(img);

        message.channel.send(cute);
    }
}