Browse Source

fix help message

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/206/head
Michael Telatynski 7 years ago
parent
commit
f9b708a31f
No known key found for this signature in database GPG Key ID: 3F879DA5AD802A5E
  1. 2
      src/github.com/matrix-org/go-neb/services/github/github.go

2
src/github.com/matrix-org/go-neb/services/github/github.go

@ -365,7 +365,7 @@ func (s *Service) cmdGithubClose(roomID, userID string, args []string) (interfac
return gomatrix.TextMessage{"m.notice", fmt.Sprintf("Closed issue: %s", *issueComment.HTMLURL)}, nil return gomatrix.TextMessage{"m.notice", fmt.Sprintf("Closed issue: %s", *issueComment.HTMLURL)}, nil
} }
const cmdGithubReopenUsage = `!github close [owner/repo]#issue`
const cmdGithubReopenUsage = `!github reopen [owner/repo]#issue`
func (s *Service) cmdGithubReopen(roomID, userID string, args []string) (interface{}, error) { func (s *Service) cmdGithubReopen(roomID, userID string, args []string) (interface{}, error) {
cli, resp, err := s.requireGithubClientFor(userID) cli, resp, err := s.requireGithubClientFor(userID)

Loading…
Cancel
Save