Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit 1f543f1

Browse files
committed
Command can be top-commiter or top-commiters
1 parent b323194 commit 1f543f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/github-commiters.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# Commands:
1212
# hubot repo commiters <repo> - shows commiters of repository
13-
# hubot repo top-commiter <repo> - shows top commiters of repository
13+
# hubot repo top-commiters <repo> - shows top commiters of repository
1414
#
1515
# Notes:
1616
# HUBOT_GITHUB_API allows you to set a custom URL path (for Github enterprise users)
@@ -29,7 +29,7 @@ module.exports = (robot) ->
2929
max_length -= 1
3030
return unless max_length
3131

32-
robot.respond /repo top-commiter (.*)$/i, (msg) ->
32+
robot.respond /repo top-commiters? (.*)$/i, (msg) ->
3333
read_contributors msg, (commits) ->
3434
top_commiter = null
3535
for commit in commits

0 commit comments

Comments
 (0)