bye bye, useless console.log

This commit is contained in:
Emily 2020-10-09 16:03:51 +11:00
parent 036114715f
commit 06612b55b9

View file

@ -25,7 +25,6 @@ class Eval extends Command {
} catch (err) { } catch (err) {
const e = await this.client.functions.clean(err); const e = await this.client.functions.clean(err);
const MAX_CHARS = 1 + 5 + 1 + 3 + e.length + 3; const MAX_CHARS = 1 + 5 + 1 + 3 + e.length + 3;
console.log(MAX_CHARS);
if (MAX_CHARS > 2000) { if (MAX_CHARS > 2000) {
return message.channel.send({ files: [new Discord.MessageAttachment(Buffer.from(e), "error.txt")] }); return message.channel.send({ files: [new Discord.MessageAttachment(Buffer.from(e), "error.txt")] });
} }