logic building question (flow chart included):

First of all, thank you so much for all of the help you guys have given me over the past couple days as I'm building this bot. New to discord.js and you have helped to make it a really fun and engaging experience to learn!


I have a working embed, and I've done research into the discord.js to figure out if this was possible I think I've found a way to do what I want, but I wanted to know if this was a feasible way to get what I'm trying to do set up, or if there's another way I should go about it.

I have a couple of questions:

  1. How would I go about updating a field to an embed after a button is pressed? The way that I'm declaring it now is in an array, so would I just have to reference it that way?
Found this for the first question but could use an example for the splice:
 EmbedBuilder.spliceFields is easy if you're using builders, otherwise you're not accessing .fields correctly. It's .data.fields for builders or .fields for API embeds


2. Is there a way to have a user's interaction with a button update a slash command reply that already exists? Answered this myself:
https://discordjs.guide/additional-info/changes-in-v13.html#buttoninteraction
image.png
Imagine a guide... that explores the many possibilities for your discord.js bot.
Was this page helpful?