Skip to content

Commit

Permalink
refactor: restore embed to update
Browse files Browse the repository at this point in the history
  • Loading branch information
fearandesire committed Nov 13, 2024
1 parent 3e812c6 commit 821c9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/predictions/prediction-leaderboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ export class UserCommand extends Command {
totalPages,
);

await i.editReply({ embeds: [newEmbed], components: newComponents });
await i.update({ embeds: [newEmbed], components: newComponents });
});

collector.on('end', async () => {
Expand Down

0 comments on commit 821c9b1

Please sign in to comment.