[AB-xxx] changing custom command auto complete to be a contains with ignored case

adding auto complete to delete custom commands
This commit is contained in:
Sheldan
2025-02-16 22:53:18 +01:00
parent 8544c0c2b1
commit 99c4c3e59c
7 changed files with 56 additions and 14 deletions

View File

@@ -18,6 +18,6 @@ public interface CustomCommandManagementService {
void deleteCustomCommand(String name, AUser user);
List<CustomCommand> getCustomCommands(AServer server);
List<CustomCommand> getUserCustomCommands(AUser aUser);
List<CustomCommand> getCustomCommandsStartingWith(String prefix, AServer server);
List<CustomCommand> getUserCustomCommandsStartingWith(String prefix, AUser aUser);
List<CustomCommand> getCustomCommandsContaining(String prefix, AServer server);
List<CustomCommand> getUserCustomCommandsContaining(String prefix, AUser aUser);
}

View File

@@ -16,6 +16,6 @@ public interface CustomCommandService {
List<CustomCommand> getUserCustomCommands(User user);
CustomCommand getCustomCommand(String name, Guild guild);
CustomCommand getUserCustomCommand(String name, User user);
List<CustomCommand> getCustomCommandsStartingWith(String prefix, Guild guild);
List<CustomCommand> getUserCustomCommandsStartingWith(String prefix, User user);
List<CustomCommand> getCustomCommandsContaining(String name, Guild guild);
List<CustomCommand> getUserCustomCommandsContaining(String name, User user);
}