philipp
DIAdiscord.js - Imagine an app
•Created by philipp on 1/5/2024 in #djs-questions
"Cannot send empty Message" but its an valid embed
if (!user) { return message.edit("❌ Unknown user!") }
let embed = new Discord.MessageEmbed()
.setTitle("**Userinfo**")
.setColor("#00D4FF")
.setThumbnail(user.avatarURL)
.setDescription("Username - **" + user.username + "**\nDiscrim - **" + user.discriminator + "**\nID - **" + user.id + "**\nStatus - **" + user.presence.status + "**\n")
.setFooter({text: "Quelle: Discord"});
//send the embed
message.channel.send({embeds: [embed]});
whats the problem :(
DiscordAPIError: Cannot send an empty message
using discord.js v1313 replies
DIAdiscord.js - Imagine an app
•Created by philipp on 12/25/2023 in #djs-questions
edit existing Embed
Hello guys, is there a way to edit an existing Embed? I tried the Guide on Discord.js Guides, but it didnt work :(
6 replies