Skip to content

Commit

Permalink
Add toggle back to Crazy Talk
Browse files Browse the repository at this point in the history
  • Loading branch information
samfundev committed Oct 6, 2017
1 parent 4a761ec commit 6d62e80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override IEnumerator RespondToCommandInternal(string inputCommand)

var commands = inputCommand.ToLowerInvariant().Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries);

if (commands.Length != 3 || !commands[0].EqualsAny("flip", "switch") ||
if (commands.Length != 3 || !commands[0].EqualsAny("toggle", "flip", "switch") ||
!int.TryParse(commands[1], out downtime) || !int.TryParse(commands[2], out uptime))
yield break;

Expand Down

0 comments on commit 6d62e80

Please # to comment.