From e0847399ca60a3a618ee57d9d958ed9854bf72a0 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 25 Nov 2019 23:25:07 +0100 Subject: [PATCH] Show text on public embed description --- commands/general/tweet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general/tweet.js b/commands/general/tweet.js index 5e06066..b7782b0 100644 --- a/commands/general/tweet.js +++ b/commands/general/tweet.js @@ -145,7 +145,7 @@ class tweetCommand extends Command { const tweetid = response.id_str; const publicEmbed = client.util.embed() .setAuthor('Some user of discord said...') - .setDescription(args.text) + .setDescription(text) .addField('Link', `https://twitter.com/HahaYesDB/status/${tweetid}`) .setTimestamp();