[AB-112] adding command parameter alternatives to bonk/pat to use the message author the command was replied to

This commit is contained in:
Sheldan
2024-04-05 17:30:06 +02:00
parent d86299cdf6
commit 71c1445439
3 changed files with 29 additions and 11 deletions

View File

@@ -53,9 +53,7 @@ public class CombinedParameterHandlerImpl implements CombinedParametersHandler {
}
}
} catch (Exception e) {
CompletableFuture<Object> exceptionFuture = new CompletableFuture<>();
futures.add(exceptionFuture);
exceptionFuture.completeExceptionally(e);
futures.add(CompletableFuture.failedFuture(e));
}
}
}