From e52fba2e000c8d9ab44506986d9530605e0b75cc Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 20 Apr 2024 17:31:34 -0400 Subject: [PATCH] Fix first-message when no content --- commands/info/first-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/info/first-message.js b/commands/info/first-message.js index d4ee2175..d4b0d8e6 100644 --- a/commands/info/first-message.js +++ b/commands/info/first-message.js @@ -30,7 +30,7 @@ module.exports = class FirstMessageCommand extends Command { .setColor(message.member ? message.member.displayHexColor : 0x00AE86) .setThumbnail(message.author.displayAvatarURL({ extension: 'png' })) .setAuthor({ name: message.author.tag, iconURL: message.author.displayAvatarURL({ extension: 'png' }) }) - .setDescription(message.content) + .setDescription(message.content || 'No content.') .setTimestamp(message.createdAt) .setFooter({ text: `ID: ${message.id}` }) .addField('❯ Jump', `[Click Here to Jump](${message.url})`);