aboutsummaryrefslogtreecommitdiff
path: root/commands/help.js
diff options
context:
space:
mode:
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```"); */