Skip to content

Commit

Permalink
fix: acknowledge reply
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed May 1, 2024
1 parent 4ba242e commit cee46ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/discord/commands/pdfs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default {

return
}
await interaction.deferReply() // Acknowledge the command to prevent 'interaction failed'

urls.forEach(async (url) => {
const thread = await (interaction.channel as TextChannel).threads.create({
Expand Down

0 comments on commit cee46ea

Please # to comment.