{"size": 515, "ext": "js", "max_stars_repo_path": "commands/picture/dog.js", "max_stars_repo_name": "Miraculous-Bots/Ladybug", "max_stars_repo_stars_event_min_datetime": "2020-02-26T09:28:22.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-26T09:52:49.000Z", "max_issues_repo_path": "commands/picture/dog.js", "max_issues_repo_name": "Miraculous-Bots/Ladybug", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "commands/picture/dog.js", "max_forks_repo_name": "Miraculous-Bots/Ladybug", "max_forks_repo_forks_event_min_datetime": "2021-01-01T18:54:57.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-01T18:54:57.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 30.2941176471, "max_line_length": 76, "alphanum_fraction": 0.654368932}
const Discord = require("discord.js")
const axios = require("axios")

module.exports.run = async (prefix, cmd, client, args, message, config) => {

    let res = await axios.get("https://random.dog/woof.json");
    let pic = res.data.url

    let embed = new Discord.RichEmbed()

        .setTitle(await client.string(message.guild.id, "dog.title"))
        .setColor("#dd2b4e")
        .setImage(pic)
        .setFooter(await client.string(message.guild.id, "dog.footer"))

    return message.channel.send(embed)
}