mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
r
This commit is contained in:
parent
7daca3a1b3
commit
f2dab19d70
1 changed files with 1 additions and 3 deletions
|
@ -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) + '...'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue