diff --git a/bot.js b/bot.js index 0cafbb7..b6299d3 100644 --- a/bot.js +++ b/bot.js @@ -990,20 +990,6 @@ function messageChecker(oldMessage, newMessage) { } commandProcessed = true; break; - case "help": - var helpEmbed = new Discord.RichEmbed() - .setTitle("AstrelMod Help Contents") - .setDescription("Here are some things you can try. My prefix is either `mod:` or `bot:`") - .addField("Normal", "time\nclock\nnick\nsuggest\nabout\ncopyright\nlicense\nwarranty\ncontribute\nping\npong", true) - .addField("Mod Only", "mod [on|off]\nfilter [on|off]\nprepchat\ndeal\nrm\nuinfo\nrtid\nclock\n*panic*\ncancel\nhelp", true) - .setColor(0xfceb00) - .setFooter("Admin only commands depicted by *italics*") - message.channel.sendMessage(helpEmbed) - commandProcessed = true; - break; - - - case "pong": switch (Math.floor(Math.random() * 1000) % 5) { case 0: @@ -1031,6 +1017,17 @@ function messageChecker(oldMessage, newMessage) { message.delete(); commandProcessed = true; break; + case "help": + var helpEmbed = new Discord.RichEmbed() + .setTitle("AstrelMod Help Contents") + .setDescription("Here are some things you can try. My prefix is either `mod:` or `bot:`") + .addField("Normal", "time\nclock\nnick\nsuggest\nabout\ncopyright\nlicense\nwarranty\ncontribute\nping\npong", true) + .addField("Mod Only", "mod [on|off]\nfilter [on|off]\nprepchat\ndeal\nrm\nuinfo\nrtid\nclock\n*panic*\ncancel\nhelp", true) + .setColor(0xfceb00) + .setFooter("Admin only commands depicted by *italics*") + message.channel.sendMessage(helpEmbed) + commandProcessed = true; + break; case "oldhelp": var helpMessage = "Here are some things you can try:\n```\n" + "time [tz] Gets the time at UTC +00:00.\n" +