Fix VacationCommand

This commit is contained in:
2025-08-01 10:49:28 +02:00
parent 9e629d09a8
commit d968187750
@@ -180,7 +180,7 @@ public class VacationCommand extends ListenerAdapter {
.filter(pair -> pair.right().startsWith(vacation))
.limit(25)
.map(pair -> {
return new Command.Choice(pair.right(), pair.left().getLocation());
return new Command.Choice(pair.right(), Long.parseLong(pair.left().getLocation()));
})
.collect(Collectors.toList());
event.replyChoices(choices)