Removed unnecessary comments, replaced instances of console.error with a throw

This commit is contained in:
TheEssem 2019-12-10 09:53:43 -06:00
parent 346312f006
commit 08ec2ca9ea
25 changed files with 37 additions and 52 deletions

View file

@ -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 "▶":