14 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!i want to ask why are you casting this
const displayEmbed = new EmbedBuilder() as any
as any
whats the point
check these rows
thats not how you create an action row from another row
use const row = ActionRowBuilder.from(theotherRow)
👍
changed it but still doesnt work
same error
send new code
https://sourceb.in/IgLL1kU2Xu
any toughts?
yea can you log one of tempObj.mutationRow or the other one please
im pretty sure that component is invalid
the components on that object / row whatever you are storing there doesnt seem to be correct
<:AA_Menhera_Think:849596324118921216>
this is where i save the actionrow in the db https://sourceb.in/0o51fnTYNE
hm... im not entirely sure, but saving the entire row objects to the db like that doesnt seem like a good idea, you should probably save them as json, you can call toJSON() on them to save them as a json object instead, then you can basically reconstruc them using the method suggested before
ActionRowBuilder.from(obj)
although if you are using typescript this is going to be a bit troublesome, perhaps
ill try that and let you know , thx for now
it kinda works now cause i get no error , whatever i get this interaction failed and it seems like it isnt executing anything , ill do some checkpoints to check it
actually forget it , im rlly dumb
lol
interaction fails because you are not replying to the interaction
im , i was just returning before defining the fields in the embed