File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/xyz/htmlcsjs/coffeeFloppa/commands Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public GithubIssueCommand() {
4444 } else {
4545 repo = split .get (0 );
4646 }
47- aliasMap .put (alias , repo );
47+ aliasMap .put (alias . toLowerCase () , repo );
4848 }
4949 categoryAliasMap .clear ();
5050 for (String str : FloppaTomlConfig .channelAliases .split (";" )) {
@@ -56,7 +56,7 @@ public GithubIssueCommand() {
5656 } else {
5757 repo = split .get (0 );
5858 }
59- categoryAliasMap .put (alias , repo );
59+ categoryAliasMap .put (alias , repo . toLowerCase () );
6060 }
6161 }
6262
@@ -86,8 +86,8 @@ public String execute(Message message) {
8686 issueList .add (new IssueListItem (aliasMap .get (categoryAliasMap .get (parentId .get ().asString ())), matchResult .group (2 )));
8787 }
8888 }
89- } else if (aliasMap .containsKey (matchResult .group (1 ))){
90- issueList .add (new IssueListItem (aliasMap .get (matchResult .group (1 )), matchResult .group (2 )));
89+ } else if (aliasMap .containsKey (matchResult .group (1 ). toLowerCase () )){
90+ issueList .add (new IssueListItem (aliasMap .get (matchResult .group (1 ). toLowerCase () ), matchResult .group (2 )));
9191 }
9292 });
9393
You can’t perform that action at this time.
0 commit comments