Removed unnecessary comments, replaced instances of console.error with a throw
This commit is contained in:
parent
346312f006
commit
08ec2ca9ea
25 changed files with 37 additions and 52 deletions
|
@ -36,7 +36,7 @@ const paginationEmbed = async (message, pages, timeout = 120000) => {
|
|||
if (manageMessages) msg.removeReaction("🔢", userID);
|
||||
});
|
||||
}).catch(error => {
|
||||
if (error) console.error;
|
||||
if (error) throw error;
|
||||
});
|
||||
break;
|
||||
case "▶":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue