Skip to content

Commit

Permalink
Change remove wording (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Nov 1, 2022
1 parent 8692762 commit 65da2f7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -186,7 +186,7 @@ void handleDirectCommand(Channel channel, User sender, String payload) {
return;
}

m = Pattern.compile("(?:remove|revoke) (\\S+)(?: as)? (a )?(committ?er|member) on (.*)",CASE_INSENSITIVE).matcher(payload);
m = Pattern.compile("(?:remove|revoke) (\\S+)(?: as)? (a )?(committ?er|member) (?:from|on) (\\S+)",CASE_INSENSITIVE).matcher(payload);
if (m.matches()) {
removeGitHubCommitter(channel,sender,m.group(1),m.group(2));
return;
Expand Down

0 comments on commit 65da2f7

Please sign in to comment.