Removed unnecessary try/catch block from pagination, fixed font coloring with sonic
This commit is contained in:
parent
c1f2eadf88
commit
346312f006
2 changed files with 3 additions and 7 deletions
|
@ -56,11 +56,7 @@ const paginationEmbed = async (message, pages, timeout = 120000) => {
|
|||
}
|
||||
});
|
||||
reactionCollector.once("end", () => {
|
||||
try {
|
||||
if (!deleted) currentPage.removeReactions();
|
||||
} catch (e) {
|
||||
console.log("Reaction message was deleted");
|
||||
}
|
||||
if (!deleted) currentPage.removeReactions();
|
||||
});
|
||||
return currentPage;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue