Skip to content

Commit

Permalink
fix(PagesBuilder): change replied status
Browse files Browse the repository at this point in the history
  • Loading branch information
egorprnn committed Jun 21, 2021
1 parent 1c714af commit c095c3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord.js-pages",
"version": "1.3.0-rc.2",
"version": "1.3.0-rc.3",
"description": "Dynamic pages pagination module for discord.js",
"scripts": {
"prebuild": "tsc && node --experimental-modules --es-module-specifier-resolution=node ./scripts/removeEmptyFiles.mjs",
Expand Down
3 changes: 3 additions & 0 deletions src/PagesBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@ export class PagesBuilder extends MessageEmbed {
} else {
await interaction.reply(message);
}

// https://github.com/discordjs/discord.js/pull/5899
interaction.replied = true;
}

const sendMessage = isInteraction ?
Expand Down

0 comments on commit c095c3b

Please sign in to comment.