[commands] Add requirements parameter to Commands.idle() (#5774)

This commit is contained in:
Ryan Blue
2023-10-17 22:52:48 -04:00
committed by GitHub
parent 3f3a169149
commit 579007ceb3
3 changed files with 7 additions and 5 deletions

View File

@@ -33,10 +33,11 @@ CommandPtr None();
/**
* Constructs a command that does nothing until interrupted.
*
* @param requirements Subsystems to require
* @return the command
*/
[[nodiscard]]
CommandPtr Idle();
CommandPtr Idle(Requirements requirements = {});
// Action Commands