diff options
Diffstat (limited to 'juick-common/src/main')
-rw-r--r-- | juick-common/src/main/java/com/juick/server/CommandsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/server/CommandsManager.java b/juick-common/src/main/java/com/juick/server/CommandsManager.java index 51051b7b..1907bde7 100644 --- a/juick-common/src/main/java/com/juick/server/CommandsManager.java +++ b/juick-common/src/main/java/com/juick/server/CommandsManager.java @@ -251,7 +251,7 @@ public class CommandsManager { .map(t -> String.format("\n*%s - %d", t.getTag().getName(), t.getUsageCount())).collect(Collectors.joining()); return CommandResult.fromString(msg); } - @UserCommand(pattern = "S", help = "S - Show your subscriptions") + @UserCommand(pattern = "S", help = "S - Show your subscriptions", patternFlags = Pattern.CASE_INSENSITIVE) public CommandResult commandSubscriptions(User currentUser, URI attachment, String... args) { List<User> friends = userService.getUserFriends(currentUser.getUid()); List<String> tags = subscriptionService.getSubscribedTags(currentUser); |