SHARE
TWEET

Untitled

a guest Jun 19th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require("discord.js");
  2.  
  3. module.exports.run = async (bot, message, args) => {
  4.  
  5.     if(!args[0]) return message.reply("Please specify whether you want **general** or **mod** commands.");
  6.  
  7.     let gHelpEmbed = new Discord.RichEmbed()
  8.     .setDescription("**General Commands**")
  9.     .setColor("#d78be0")
  10.     .addField("f!bap", `Baps the user`)
  11.     .addField("f!bean", `GIMME YOUR BEANS`)
  12.     .addField("f!membercount", `Displays the current member count.`)
  13.     .addField("f!report", `Reports the user tagged.`)
  14.     .addField("f!say", `Makes the bot say whatever you type.`)
  15.     .addField("f!warnlevel", `Shows the amount of warnings for a user.`);
  16.  
  17.     let mHelpEmbed = new Discord.RichEmbed()
  18.     .setDescription("**Moderation Commands**")
  19.     .setColor("#c91c1c")
  20.     .addField("f!ban", `Bans the user specified with a reason.`)
  21.     .addField("f!clear", `Clears the specified amount of messages from a channel.`)
  22.     .addField("f!kick", `Kicks the user specified with a reason.`)
  23.     .addField("f!mute", `Mutes the user with a time and reason.`)
  24.     .addField("f!warn", `Warns the specified user with a reason.`);
  25.  
  26.     if(args[0] === "mod") return message.channel.send(mHelpEmbed).then(msg  => msg.delete(10000));
  27.     if(args[0] === "general") return message.channel.send(gHelpEmbed).then(msg  => msg.delete(10050));
  28.  
  29. }
  30.  
  31. module.exports.help = {
  32.     name: "help"
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top