fix return for /run with closure

This commit is contained in:
LenAnderson 2024-07-12 15:05:39 -04:00
parent b74600605c
commit 956a676390

View File

@ -1819,7 +1819,7 @@ async function runCallback(args, name) {
}
if (name instanceof SlashCommandClosure) {
return await name.execute();
return (await name.execute())?.pipe;
}
/**@type {SlashCommandScope} */