This commit is contained in:
derpystuff 2023-10-23 18:32:42 +02:00
parent 7daca3a1b3
commit f2dab19d70

View file

@ -31,8 +31,6 @@ module.exports = {
let input = args.text;
for(const p of BLOCKED_PHRASES) if(input.toLowerCase().includes(p)) return await editOrReply(context, createEmbed("error", context, "Query includes blocked phrases. This incident will be reported."));
let inputDisplay = args.text.replace(/\n/g, ' ')
if(inputDisplay.length >= 50) inputDisplay = inputDisplay.substr(0,50) + '...'