From 3b7935fdfe07b023823d89316874270082e2b56c Mon Sep 17 00:00:00 2001 From: Alee Date: Wed, 18 Apr 2018 15:28:39 -0400 Subject: New imrpove changes --- commands/changelog.js | 4 ++-- commands/help.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'commands') 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'); -- cgit v1.2.3