Search code examples
javascriptnode.jsdiscorddiscord.js

Is there a way to send an embed without any message content?


I think its anoying to have to send some message content along with the embed. I know you can use some invisible character like \u200B but there will still be an empty line. Is there a way around this or am I just forced to send something, even if its invisible?


Solution

  • Actually, in discord.js v13, you don't need to send some message content along with the embed. The embed alone can be sent using this:

    message.channel.send({
        embeds: [embedname]
    })
    

    If you want to learn more about the embed, you can go here => Embeds | discord.js