This commit is contained in:
LenAnderson
2024-04-28 16:04:59 -04:00
parent 2ed1e3780b
commit 0ce37981bf

View File

@ -232,9 +232,8 @@ export class SlashCommandClosure {
;
}
let abortResult;
// eslint-disable-next-line no-cond-assign
if (abortResult = this.testAbortController()) {
let abortResult = this.testAbortController();
if (abortResult) {
return abortResult;
}
this.scope.pipe = await executor.command.callback(args, value ?? '');