Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The reply to this interaction has already been sent or deferred. #4

Closed
AsianHyun opened this issue Jun 2, 2023 · 1 comment
Closed

Comments

@AsianHyun
Copy link

steps for reproducing :
1. git cloning this repository
2. npm run build
3. npm start
4. use /rank command


/home/ubuntu/level-bot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:102
if (this.deferred || this.replied) throw new DiscordjsError(ErrorCodes.InteractionAlreadyReplied);
^

Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
at ChatInputCommandInteraction.reply (/home/ubuntu/level-bot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:102:46)
at Object.execute (/home/ubuntu/level-bot/dist/commands/rank.js:31:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'InteractionAlreadyReplied'
}


I think it can be discord.js@14.6.0's problem

EDIT : not working on discord.js@14.8.0 and discord.js@latest

@barbarbar338
Copy link
Owner

Fixed! Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants