I need a helping hand from a professional Dev
I don't have any Idea how I can solve this :3 ty for ur support
8 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Common causes of
DiscordAPIError[10062]: Unknown interaction
:
- Initial response took more than 3 seconds ➞ defer the response *.
- Wrong interaction object inside a collector.
- Two processes handling the same command (the first consumes the interaction, so it won't be valid for the other instance)
* Note: you cannot defer modal or autocomplete value responsesSounds like the third bullet point applies here
:0 hmmm ok ty
maybe my event+ the command itself do something wrong?
you're responding twice to the same interaction
Whether that be due to your event handler, duplicate events or duplicate instances
hmmm ok ty ❤️ I think this is helpfull
maybe this is the problem:
await command.execute(interaction);
and
await interaction.reply('Du hast folgende Gegenstände in der ${selectedWorldName} gefunden: ${foundItemsList}!');
thats just replying to the interaction
if you call that multiple times for the same interaction, that can cause problems yes
ok ty :0