summaryrefslogtreecommitdiff
path: root/commands/help.js
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-08-17 01:40:08 -0400
committerUnknown <Alee14498@gmail.com>2017-08-17 01:40:08 -0400
commit2a8c799d7a9ad46f398c5e2feb448140eecbc638 (patch)
tree60883532c86f70a713fc3af6a8584edeb044811b /commands/help.js
parenta8d005f965dc66a05316db7bc723eaddbc5399ee (diff)
downloadAleeBot-1.1.0.tar.gz
AleeBot-1.1.0.tar.bz2
AleeBot-1.1.0.zip
Official 1.1.0 release!v1.1.0
Changelog: New command handler!
Diffstat (limited to 'commands/help.js')
-rw-r--r--commands/help.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/commands/help.js b/commands/help.js
new file mode 100644
index 0000000..11c8073
--- /dev/null
+++ b/commands/help.js
@@ -0,0 +1,34 @@
+const Discord = require('discord.js');
+//const config = require('./absettings.json');
+//const abversion = require(config.abversion)
+exports.run = (client, message, args, config) => {
+
+var embed = new Discord.RichEmbed()
+ .setTitle(`Commands for AleeBot ` + config.abversion + ` and running on ${client.guilds.size} servers.`)
+ .setDescription('Every command you put in this bot must start with `ab:`')
+ .addField('Fun Stuff:', 'attack\nask\nship',true)
+ .addField('Info:', 'userinfo\nserverinfo',true)
+ .addField('Link:', 'botinvite\nserverinvite\ngit',true)
+ .addField('Owner Only:', 'say\neval',true)
+ .addField('Monitor:', 'ping\nuptime',true)
+ .addField('Etc:', 'avatarurl', true)
+ .setFooter("AleeBot "+ config.abversion +" Copyright "+ config.year +". Created by Alee14", "https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048")
+ .setColor("#7af442")
+ message.channel.sendEmbed(embed);
+} /* This feature is broken
+ else if {
+ message.channel.send ("```Commands for AleeBot "+ abversion +".\nYou are using this view because this bot doesn't have permission to send embed link.\n\n" +
+ ''+prefix+'avatarurl\n' +
+ ''+prefix+'git\n' +
+ ''+prefix+'ping\n' +
+ ''+prefix+'suggest\n' +
+ ''+prefix+'uptime\n' +
+ ''+prefix+'userinfo\n' +
+ ''+prefix+'serverinfo\n' +
+ ''+prefix+'botinvite\n' +
+ ''+prefix+'serverinvite\n' +
+ ''+prefix+'plan\n' +
+ ''+prefix+'attack\n' +
+ ''+prefix+'ask\n' +
+ ''+prefix+'ship\n\n' +
+ "Copyright "+ year +". Created by Alee14\n```"); */