Fix in Embed I'm not sure how I missed.

This commit is contained in:
Daniel Odendahl Jr
2017-04-06 08:24:02 +00:00
parent bd0869a3a9
commit 23caf9a981
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = class EmbedCommand extends commando.Command {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
}
console.log(`[Command] ${message.content}`);
const embedMessage = message.content.split(' ').slice(1).join(' ');
const embedMessage = args.text;
const embed = new Discord.RichEmbed()
.setAuthor(message.author.username, message.author.avatarURL)
.setColor(0x00AE86)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "20.0.0",
"version": "20.0.1",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"repository": {