From 2f7c03e011292641c1c002a19e41bc557032c852 Mon Sep 17 00:00:00 2001 From: Supositware Date: Thu, 24 Nov 2022 20:29:09 +0100 Subject: [PATCH] Fix not sending the tweet link & embed --- commands/fun/tweet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/tweet.js b/commands/fun/tweet.js index 09c819d..70955b0 100644 --- a/commands/fun/tweet.js +++ b/commands/fun/tweet.js @@ -176,7 +176,7 @@ export default { const Embed = new EmbedBuilder() .setAuthor({ name: interaction.user.username, iconURL: interaction.user.displayAvatarURL() }) - .setDescription(tweet) + .setDescription(tweet ? tweet : 'No content.') .addFields( { name: 'Link', value: TweetLink, inline: true }, { name: 'Tweet ID', value: tweetid, inline: true },