get a unknown webhook error.
Hello, I got a collector running on a message in my code 2048 so my buttons work. But sometimes there is a very small chance it goes erroring with unknown webhook error. I was unable to trace this error and was unable to intentionally recreate it. Is this a error on my side or discords side?
10 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.That errors happens when you try to respond to an interaction very late in the code
Moreso after 15 mins in some cases
Which is the max interval
[email protected]
node:v18.16.0.
You can edit a message anytime
Common causes of
DiscordAPIError[10015]: Unknown webhook
:
- Application command followup/edit more than 15 minutes after the first acknowledgement.
- Using a saved webhook token to initialize a new InteractionWebhook.So i should change everything that uses interaction. something to store in a other variable and that should fix it?
so change this
interaction.member.id
to a variable userID?Please use source bin to share large code blocks
<:T_high:800810451302088718>
Alright should do
https://pastebin.com/uGWfqjcp here you go
Pastebin
// 2048 gameconst { SlashCommandBuilder, ActionRowBuilder, Butto...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
LIke this?