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; let abortResult = this.testAbortController();
// eslint-disable-next-line no-cond-assign if (abortResult) {
if (abortResult = this.testAbortController()) {
return abortResult; return abortResult;
} }
this.scope.pipe = await executor.command.callback(args, value ?? ''); this.scope.pipe = await executor.command.callback(args, value ?? '');