#Embed gets send twice
1 messages · Page 1 of 1 (latest)
k
what gets sent twice?
the Embed
mk
this gets send twice and if I try to add a reaction to the embed it adds it to both
Now it might be that a function is executing twice but I don't know how it could be
im not sure why you not just building the embed inside the reply before it sends it
Because I need it to be customizable so it has the data that user is entering when executing the command
I just found the solution xd
I had InteractionCreate.js in events and it executed everytime that interaction came. So it executed the send funciton again
mb for waisting your time and thank you for help
why do you have two interactionCreate events then?
I don't know why I had InteractionCreate event in events
what
thats pointless
exacly
just put it in your index.js file
I have it alredy
right
so it was executing twice
?
one sec
k
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
just do this
for all your commands
its just much easier to read
it makes no difference
bye
ohh you can build a embed inside of the send