forgot to remove debug

This commit is contained in:
Erik 2022-07-10 11:58:01 +03:00
parent 649ed41e92
commit bb5f3e0539
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -124,8 +124,6 @@ class ModerationManager {
}); });
} }
console.log(responses);
const success = Boolean(responses.some((r) => !r.error)); const success = Boolean(responses.some((r) => !r.error));
const succeeded = responses.filter((r) => !r.error); const succeeded = responses.filter((r) => !r.error);
const failed = responses.filter((r) => r.error); const failed = responses.filter((r) => r.error);
@ -163,7 +161,6 @@ class ModerationManager {
} }
} }
console.log(successes);
const succeededTargets = succeeded.map((s) => s.infraction.target); const succeededTargets = succeeded.map((s) => s.infraction.target);
const actions = await this._handleArguments(invoker, succeededTargets, args); //eslint-disable-line no-unused-vars const actions = await this._handleArguments(invoker, succeededTargets, args); //eslint-disable-line no-unused-vars
@ -187,7 +184,6 @@ class ModerationManager {
data.escalation ? string += str : string = `${str}\n${string}`; //eslint-disable-line data.escalation ? string += str : string = `${str}\n${string}`; //eslint-disable-line
} }
} }
console.log(string);
for (const [, data] of Object.entries(fails)) { for (const [, data] of Object.entries(fails)) {
const { dictionary, targetType } = data.infraction; const { dictionary, targetType } = data.infraction;