aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-04-18 15:28:39 -0400
committerAlee <alee14498@gmail.com>2018-04-18 15:28:39 -0400
commit3b7935fdfe07b023823d89316874270082e2b56c (patch)
treeb54b27d5cb286da95bf777e3320574ae344c3058 /commands
parent6157fb64ec61dde05a1dc955037ef9d079bb41d9 (diff)
downloadAleeBot-3b7935fdfe07b023823d89316874270082e2b56c.tar.gz
AleeBot-3b7935fdfe07b023823d89316874270082e2b56c.tar.bz2
AleeBot-3b7935fdfe07b023823d89316874270082e2b56c.zip
New imrpove changes
Diffstat (limited to 'commands')
-rw-r--r--commands/changelog.js4
-rw-r--r--commands/help.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/commands/changelog.js b/commands/changelog.js
index 10ea4ec..364c3fa 100644
--- a/commands/changelog.js
+++ b/commands/changelog.js
@@ -20,8 +20,8 @@
module.exports.run = async (client, message) => {
const Discord = require('discord.js');
const embed = new Discord.RichEmbed()
- .setAuthor('AleeBot ' + '2.8.0' + ' Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
- .setDescription('What\'s new in AleeBot 2.7?')
+ .setAuthor('AleeBot ' + require('../storage/settings.json').abVersion + ' Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
+ .setDescription('What\'s new in AleeBot '+ require('../storage/settings.json').abVersion +'?')
.addField('[>] Suggest a feature for AleeBot!', 'You can now suggest a feature for AleeBot!')
.setColor('#1fd619');
message.channel.send({embed});
diff --git a/commands/help.js b/commands/help.js
index 5d13a2a..f6c380d 100644
--- a/commands/help.js
+++ b/commands/help.js
@@ -29,8 +29,8 @@ module.exports.run = async (client, message) => {
});
const embed = new Discord.RichEmbed()
- .setAuthor('AleeBot 2.8.0' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
- .setDescription('Every command you input into AleeBot is `' + require('../absettings.json').prefix + '`')
+ .setAuthor('AleeBot ' + require('../storage/settings.json').abVersion + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
+ .setDescription('Every command you input into AleeBot is `' + require('../storage/settings.json').prefix + '`')
.setColor('#1fd619')
.setFooter('AleeCorp Copyright 2018, Licensed with GPL-3.0');