Fix not sending the tweet link & embed
This commit is contained in:
parent
983bfcfc9e
commit
2f7c03e011
1 changed files with 1 additions and 1 deletions
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue