Fixed paginator not removing reactions on end
This commit is contained in:
parent
4a516329e5
commit
b24e99d8e8
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module.exports = async (client, message, pages, timeout = 120000) => {
|
||||||
});
|
});
|
||||||
reactionCollector.once("end", async () => {
|
reactionCollector.once("end", async () => {
|
||||||
try {
|
try {
|
||||||
await client.getMessage(currentPage.channel, currentPage.id);
|
await client.getMessage(currentPage.channel.id, currentPage.id);
|
||||||
if (manageMessages) {
|
if (manageMessages) {
|
||||||
await currentPage.removeReactions();
|
await currentPage.removeReactions();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue