Skip to content

Commit fb04892

Browse files
committed
UX swapped whenUnit and whenAmount
CR by tais
1 parent 99ff917 commit fb04892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/commands/reminder/RemindCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public RemindCommand(@NotNull Database database) {
6464
"when to remind you, the unit of the time period (e.g. 5 [weeks])", true);
6565
WHEN_UNITS.forEach(unit -> whenUnit.addChoice(unit, unit));
6666

67-
getData().addOptions(whenAmount, whenUnit)
67+
getData().addOptions(whenUnit, whenAmount)
6868
.addOption(OptionType.STRING, CONTENT_OPTION, "what to remind you about", true);
6969

7070
this.database = database;

0 commit comments

Comments
 (0)