sbot50
Explore posts from serversHow do you create an embed?
I might be AM very stupid.
But the only way i saw how to make an embed is to get a messagechannel and do .createMessage on there.
But how do i send an embed as a reponse to an interaction? cause thats required a list of embeds (obv) but idk how to make a singular embed to put in that list.
4 replies
DIAdiscord.js - Imagine an app
•Created by sbot50 on 6/21/2024 in #djs-questions
Message interaction is null
is there still a way to get the interaction associated with the message?
Because i have a bot where if you use a slash command it responds with a message with buttons.
I want to limit those buttons to only the person why send the intiial interaction, but for some reason when i fetch the msg or get it from the button interaction the interaction associated with the message is null (unless its the first time you click the button for whatever reason)
Now short of just making the custom id of the buttons the persons id, is there any way to get the interaction, or a wait to get who send the initial interaction.
5 replies