003002001
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
So try again and let me know
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Yeah because embeds option expects Array
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Are you sure you saved your changes?
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
So it's not
{embeds: ratraceembed}
, it should be {embeds: [ratracembed]}
because embeds option supports multiple embeds105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
You have to put your embed variable inside of Array in msg.reply function
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Can i see your code again?
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Otherwise I could just send you the full code xD.
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
It's fine. I am just trying to be sure you learn it.
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
So its gonna look like
msg.reply({ embeds: [ratraceembed] })
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Thats how you send embeds
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
You just have to send your embed with using embeds option.
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
No i mean
msg.reply({ embeds: ... })
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
And compare it with your current msg.reply function
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Look at your msg.reply function in the first screenshot
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Just focus on msg.reply function
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
As we already mentioned, you must send your embed to edit it
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Can you send a screenshot of your code again?
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
Yeah that was my bad, I thought we can just edit it directly but I guess it was how Embeds works for older versions of discord.js
105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
So
const newEmbed = EmbedBuilder.from(getembed).setDescription("Edited Description")
gonna solve the problem for this example105 replies
DIAdiscord.js - Imagine an app
•Created by Cwλb on 8/25/2024 in #djs-questions
How can i edit the embed of a message?
@TÆMBØ Docs says embed parts are immutable but as far as i can remember we can just define embed into a variable and edit its own property then resend it. Am i wrong?
105 replies