forgot to remove debug
This commit is contained in:
parent
649ed41e92
commit
bb5f3e0539
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user