aboutsummaryrefslogtreecommitdiff
path: root/commands/changelog.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/changelog.js')
-rw-r--r--commands/changelog.js4
1 files changed, 2 insertions, 2 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});