mirror of
https://github.com/Alee14/AstralMod-ATC.git
synced 2025-01-22 17:32:04 -05:00
Fixes
This commit is contained in:
parent
a38790becf
commit
4a6ef8873f
1 changed files with 11 additions and 14 deletions
25
bot.js
25
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" +
|
||||
|
|
Loading…
Reference in a new issue