const rp = require("request-promise");
const fs = require("fs");

exports.run = async(client, msg, args) => {
    if(args.length < 1) return;

    try {
        fs.appendFileSync("bug_reports.log",
                          `Username: ${msg.author.username}#${msg.author.discriminator}\n` +
                          `Id: ${msg.author.id}\n` +
                          `Message: ${args.join(" ")}\n` +
                          `-----------------------------------------------------\n`);
        msg.channel.send("Bug successfully reported. @Wolfe#2282 should be checking the logs somtime soon.");
    } catch (err) {
        msg.channel.send("There was an error, oh no! :dizzy_face:");
    }
};

exports.help = {
    name: "reportbug",
    permission: 5,
    description: "Used to let the admins know of a bug.",
    usage: "reportbug [detailed description of bug]"
};

const rp = require("request-promise");
const fs = require("fs");

exports.run = async(client, msg, args) => {
    if(args.length < 1) return;

    try {
        fs.appendFileSync("bug_reports.log",
                          `Username: ${msg.author.username}#${msg.author.discriminator}\n` +
                          `Id: ${msg.author.id}\n` +
                          `Message: ${args.join(" ")}\n` +
                          `-----------------------------------------------------\n`);
        msg.channel.send("Bug successfully reported. @Executive should be checking the logs somtime soon.");
    } catch (err) {
        msg.channel.send("There was an error, oh no! :dizzy_face:");
    }
};

exports.help = {
    name: "reportbug",
    permission: 5,
    description: "Used to let the admins know of a bug.",
    usage: "reportbug [detailed description of bug]"
};

Tag all of exec now
Tag all of exec now
