bugfix sandbox (errormessage maxlength)
This commit is contained in:
parent
868bbea424
commit
bda1fbdb7a
|
@ -49,7 +49,7 @@ module.exports = bot => {
|
|||
}
|
||||
}
|
||||
catch (err) {
|
||||
e.reply(err.message);
|
||||
e.reply(err.message.length > maxoutput ? `holy fuck, Error wäre viel zu lang! (${err.message.length} Zeichen :DDDDDD)` : JSON.stringify(err.message));
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue
Block a user