Show text on public embed description

This commit is contained in:
loicbersier 2019-11-25 23:25:07 +01:00
parent e2527bf811
commit e0847399ca

View file

@ -145,7 +145,7 @@ class tweetCommand extends Command {
const tweetid = response.id_str; const tweetid = response.id_str;
const publicEmbed = client.util.embed() const publicEmbed = client.util.embed()
.setAuthor('Some user of discord said...') .setAuthor('Some user of discord said...')
.setDescription(args.text) .setDescription(text)
.addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`) .addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`)
.setTimestamp(); .setTimestamp();