diff options
| author | Unknown <Alee14498@gmail.com> | 2017-08-20 17:34:39 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-08-20 17:34:39 -0400 |
| commit | a960cce25b40bbd3d1be64134c48c563daf0dafd (patch) | |
| tree | 90b5968450f569de3692e3e35dde088ff726bd6e /commands/help.js | |
| parent | b937dd609f0e66fb9934e57987ca5a7087bd8cb5 (diff) | |
| parent | cd191af35063cea9fdece46837a77609d3804486 (diff) | |
| download | AleeBot-a960cce25b40bbd3d1be64134c48c563daf0dafd.tar.gz AleeBot-a960cce25b40bbd3d1be64134c48c563daf0dafd.tar.bz2 AleeBot-a960cce25b40bbd3d1be64134c48c563daf0dafd.zip | |
Merge branch 'beta'
Diffstat (limited to 'commands/help.js')
| -rw-r--r-- | commands/help.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/help.js b/commands/help.js index 1cf6f06..e9384de 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,10 +1,10 @@ const Discord = require('discord.js'); //const config = require('./absettings.json'); //const abversion = require(config.abversion) -exports.run = (client, message, args, config) => { +exports.run = (client, message, args, config, abversion) => { var embed = new Discord.RichEmbed() - .setTitle(`Commands for AleeBot ` + config.abversion + ` and running on ${client.guilds.size} servers.`) + .setTitle(`Commands for AleeBot ` + abversion + ` and running on ${client.guilds.size} servers.`) .setDescription('Every command you put in this bot must start with `ab:`') .setThumbnail("https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048") .addField('Fun Stuff:', 'attack\nask\nship',true) @@ -13,7 +13,7 @@ var embed = new Discord.RichEmbed() .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") + .setFooter("AleeBot "+ abversion +" Copyright 2017. Created by Alee14", "https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048") .setColor("#7af442") message.channel.sendEmbed(embed); } /* This feature is broken |
