Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require("discord.js");
- module.exports.run = async (bot, message, args) => {
- if(!args[0]) return message.reply("Please specify whether you want **general** or **mod** commands.");
- let gHelpEmbed = new Discord.RichEmbed()
- .setDescription("**General Commands**")
- .setColor("#d78be0")
- .addField("f!bap", `Baps the user`)
- .addField("f!bean", `GIMME YOUR BEANS`)
- .addField("f!membercount", `Displays the current member count.`)
- .addField("f!report", `Reports the user tagged.`)
- .addField("f!say", `Makes the bot say whatever you type.`)
- .addField("f!warnlevel", `Shows the amount of warnings for a user.`);
- let mHelpEmbed = new Discord.RichEmbed()
- .setDescription("**Moderation Commands**")
- .setColor("#c91c1c")
- .addField("f!ban", `Bans the user specified with a reason.`)
- .addField("f!clear", `Clears the specified amount of messages from a channel.`)
- .addField("f!kick", `Kicks the user specified with a reason.`)
- .addField("f!mute", `Mutes the user with a time and reason.`)
- .addField("f!warn", `Warns the specified user with a reason.`);
- if(args[0] === "mod") return message.channel.send(mHelpEmbed).then(msg => msg.delete(10000));
- if(args[0] === "general") return message.channel.send(gHelpEmbed).then(msg => msg.delete(10050));
- }
- module.exports.help = {
- name: "help"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement