You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Report to Moderators command sends multiple reply calls, triggering this error:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
at ModalSubmitInteraction.reply (/home/pfist/bots/quinn/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:101:46)
at InteractionCollector.<anonymous> (file:///home/pfist/bots/quinn/src/commands/moderation/report.js:45:18)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
What you expected
The interaction should only reply once. After that, followUp should be used.
Steps to reproduce
Go to any text channel.
Right-click a message > Apps > Report to Moderators.
Fill out the report and click Submit.
The command seems to work fine, but Quinn logs an error.
The text was updated successfully, but these errors were encountered:
Was this issue already reported?
On which platform did you encounter this issue?
Desktop app
What happened
The Report to Moderators command sends multiple
reply
calls, triggering this error:What you expected
The interaction should only reply once. After that,
followUp
should be used.Steps to reproduce
The text was updated successfully, but these errors were encountered: