{"size": 1170, "ext": "js", "max_stars_repo_path": "commands/status.js", "max_stars_repo_name": "tawfiqsiam/dragonbotdev", "max_stars_repo_stars_event_min_datetime": "2018-11-22T12:12:31.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-11T05:32:36.000Z", "max_issues_repo_path": "commands/status.js", "max_issues_repo_name": "tawfiqsiam/dragonbotdev", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "commands/status.js", "max_forks_repo_name": "tawfiqsiam/dragonbotdev", "max_forks_repo_forks_event_min_datetime": "2019-05-01T23:51:33.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-03T11:36:08.000Z"}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 34.4117647059, "max_line_length": 202, "alphanum_fraction": 0.6376068376}
const Discord = require("discord.js");

exports.run = async (client, message, prefix) => {
  const args = message.content.slice(prefix.length).split(/ +/);
	const commandName = args.shift().toLowerCase();



message.delete();
 //if(!message.member.roles.some(r=>["STATUS", "status"].includes(r.name)) )
     // return message.reply("You Need Invite 10 People To Get `STATUS` Roles To Use This Commands ! \n\nGo To #bot-command and do `--ranks` to view more role rewards !").then(msg => msg.delete(12000));
    if(!args[0]) {
       const statushelp = new Discord.RichEmbed()
       .setTitle(`__Status__: **${prefix}status < Text >**`)
        return message.channel.send(statushelp).then(msg => msg.delete(8000));
    }
    let status = args.join(" ");
    message.delete();
    let announceEmbed = new Discord.RichEmbed()
    .setColor(`RANDOM`)
    .setFooter(`Status by ${message.author.username}`, message.author.avatarURL)
    .setTimestamp()

.setTitle(status)

    let m = await message.channel.send(announceEmbed);
    await m.react(`👍`);
    await m.react(`💙`);
    await m.react(`😂`);
    await m.react(`😮`);
    await m.react(`😢`);
    await m.react(`😡`);

}