mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-06 09:20:17 +00:00
[AB-xxx] fixing not limiting custom commands for auto complete
This commit is contained in:
@@ -64,6 +64,7 @@ public class GetCustomCommand extends AbstractConditionableCommand {
|
||||
return customCommandService.getCustomCommandsStartingWith(input, event.getGuild())
|
||||
.stream()
|
||||
.map(CustomCommand::getName)
|
||||
.limit(25)
|
||||
.toList();
|
||||
} else {
|
||||
return new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user