#already ack
1 messages · Page 1 of 1 (latest)
if you need to edit #editReply, if you want to send additional messages, follow-ups are the way to go
well, you can think pretty much anything
but that's what that error means
means you are responding to an interaction that you already responded to
so either already deferred it or acknowledged it with another response
is there an issue with my code?
ln 55, 117, 199 are where I respond
https://github.com/7rident/ClanwareBot/blob/4165359d3528b38a4ddd8520642e2df3d32fd02b/SlashCommands/info/ecase.js#L55
from that code i don't think so, the two edits are in diff. branches
maybe your command handler or some other code already responds before you defer in 55?
okay ill take a look
seems to be a type 4 response
CHANNEL_MESSAGE_WITH_SOURCE
so should be a #reply call
defer would be 5
defer reply would be 6
I mean I was getting the error for defer as well
I just sent the error code for when I tried without deferring
2022-02-14T20:17:06.664279+00:00 app[worker.1]: requestData: { json: { type: 4, data: [Object] }, files: [] }
this points to a reply
not editReply, not defer
so that'd suggest the cause is Interaction#reply after you already replied/deferred/whatever to the same interaction
oml its the handler
eyup, that'd cause that