aboutsummaryrefslogtreecommitdiff
path: root/commands/help.js
blob: 11c80731d57178da805afcbc914f53796b63e1ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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```"); */