send guild ID too

This commit is contained in:
loicbersier 2019-07-01 06:21:00 +02:00
parent e42d82828b
commit bca150def6

View file

@ -71,7 +71,7 @@ class tweetCommand extends Command {
.setAuthor(message.author.username, message.author.displayAvatarURL()) .setAuthor(message.author.username, message.author.displayAvatarURL())
.setDescription(args.text) .setDescription(args.text)
.addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`) .addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`)
.setFooter(`Tweet ID: ${tweetid} | Author ID: ${message.author.id}`) .setFooter(`Tweet ID: ${tweetid} | Author ID: ${message.author.id} | Guild ID: ${message.guild.id}`)
.setTimestamp(); .setTimestamp();
channel.send({embed: Embed}); channel.send({embed: Embed});