DiscordAPIError: Interaction has already been acknowledged.
At this part of my code the Bot should reply to the interaction and also should ban the member (I got the id of the member in the interaction custom id)
Error:
11 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Tag suggestion for @Bene:
•
DiscordAPIError: Interaction has already been acknowledged
• [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
You have already replied to the interaction.
• Use <Interaction>.followUp()
to send a new message
• If you deferred reply it's better to use <Interaction>.editReply()
• Responding to slash commands / buttons / select menusNope it hasn't
already tried it
It has, that's the only way you get that error
Check if you've deferred reply or have replied somewhere in your code
I didn't
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
jup
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
But what is the reply to the buttonclick then?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View