[commands] Rename deadlineWith to deadlineFor (#6544)

Deprecate deadlineWith for backwards compatibility.
This commit is contained in:
Isaac Turner
2024-04-29 03:02:29 +08:00
committed by GitHub
parent 1ec089c7f9
commit 67fe11f9cd
4 changed files with 44 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class CommandDecoratorTest extends CommandTestBase {
Command endsBefore = new InstantCommand();
Command endsAfter = new WaitUntilCommand(() -> false);
Command group = dictator.deadlineWith(endsBefore, endsAfter);
Command group = dictator.deadlineFor(endsBefore, endsAfter);
scheduler.schedule(group);
scheduler.run();