Added error reporting functionality, fixed bugs in the various game's code and tidied up a bit

This commit is contained in:
ION606
2022-07-19 15:41:49 +03:00
parent 4e1214a312
commit 0b13f6db29
13 changed files with 259 additions and 79 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
const hastebin = require("hastebin-gen");
const { addComplaintButton } = require('../dev only/submitcomplaint');
module.exports ={
name: "scrape",
@@ -23,10 +24,10 @@ module.exports ={
} else if (err.code == 'ERR_BAD_REQUEST') {
message.reply("404 link not valid!")
} else {
message.reply("Oops! There's been an error");
message.reply("Oops! There's been an error, click the ✅ to report this!");
addComplaintButton(bot, message);
console.log(err);
}
console.log(err);
});
}
}