bye bye, useless console.log
This commit is contained in:
parent
036114715f
commit
06612b55b9
1 changed files with 0 additions and 1 deletions
|
@ -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")] });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue