diff --git a/commands/general/tweet.js b/commands/general/tweet.js index 099828a..44b974d 100644 --- a/commands/general/tweet.js +++ b/commands/general/tweet.js @@ -66,21 +66,23 @@ class tweetCommand extends Command { const tweetid = response.id_str; - // Im too lazy for now to make an entry in config.json const publicEmbed = new MessageEmbed() .setAuthor('Some user of discord...') .setDescription(args.text) .addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`) .setTimestamp(); - + + // Im too lazy for now to make an entry in config.json let channel = this.client.channels.get('597964498921455637'); channel.send({embed: publicEmbed}); const Embed = new MessageEmbed() .setAuthor(message.author.username, message.author.displayAvatarURL()) .setDescription(args.text) - .addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`) - .setFooter(`Tweet ID: ${tweetid} | Author ID: ${message.author.id} | Guild ID: ${message.guild.id}`) + .addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`, true) + .addField('Tweet ID', tweetid, true) + .addField('Author', `${message.author.username}(${message.author.id})`, true) + .addField('Guild', `${message.guild.name}(${message.guild.id})`, true) .setTimestamp(); channel = this.client.channels.get(twiChannel);