Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prashanth-sams/hubot-slack
Chatbot for slack
https://github.com/prashanth-sams/hubot-slack
hubot hubot-plugins hubot-script hubot-scripts hubot-slack slack slack-bot slack-commands slackbot
Last synced: about 1 month ago
JSON representation
Chatbot for slack
- Host: GitHub
- URL: https://github.com/prashanth-sams/hubot-slack
- Owner: prashanth-sams
- Created: 2019-03-17T10:36:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-10T16:40:23.000Z (almost 6 years ago)
- Last Synced: 2024-10-27T20:02:22.052Z (3 months ago)
- Topics: hubot, hubot-plugins, hubot-script, hubot-scripts, hubot-slack, slack, slack-bot, slack-commands, slackbot
- Language: CoffeeScript
- Size: 69.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Hubot Slack
> A chatbot for [#slack] using [Hubot] service#### Hubot Slack runner
```
$ .bin/hubot --adapter HUBOT_SLACK_TOKEN=xxxx-xxxx-xxxx-xxxx \
HUBOT_GITHUB_API=https://api.github.com \
HUBOT_GITHUB_TOKEN=xxxx \
HUBOT_GITHUB_USER=xxxx \
HUBOT_GITHUB_REPO=xxxx
```### Slack interaction
- Let's start interacting with the bots created; let's say, `hubot help`
- You can customize the bot name `hubot` with `your_custom_bot_name`. In this project, I named it as `sams` from `bin/hubot.cmd && bin/hubot` and made sure the bot name is the same while creating hubot slack token; so, my statement looks like, `sams help````
hubot> hubot help
hubot help - Displays all of the help commands that hubot knows about.
```The list of commands that qualify under this implementation is described below, along with additional info.
### Github Issues
------List, Create, Close, Open and Reopen GitHub issues
| Command | Description |
| --- | --- |
| `hubot issue <#number>` | Display an issue with specific number |
| `hubot issue any`
`hubot issue any all` | Lists all the open & closed issues |
| `hubot issue any `
`hubot issue any all ` | Lists all the open & closed issues updated with specific date |
| `hubot issue any `
`hubot issue any all ` | Lists all the open & closed issues updated with specific date range |
| `hubot issue any <#label>`
`hubot issue any all <#label>` | Lists all the open & closed issues with specific label |
| `hubot issue any <#label> `
`hubot issue any all <#label> ` | Lists all the open & closed issues updated with specific label and date |
| `hubot issue any <#label> `
`hubot issue any all <#label> ` | Lists all the open & closed issues updated with specific label and date range |
| `hubot issue any <#text>`
`hubot issue any all <#text>` | Lists all the open & closed issues with specific text |
| `hubot issue any <#text> `
`hubot issue any all <#text> ` | Lists all the open & closed issues updated with specific text and date |
| `hubot issue any <#text> `
`hubot issue any all <#text> ` | Lists all the open & closed issues updated with specific text and date range |
| `hubot issue any ` | Lists all the open & closed issues assigned to a known github user |
| `hubot issue any ` | Lists all the open & closed issues assigned to a known github user updated with specific date |
| `hubot issue any ` | Lists all the open & closed issues assigned to a known github user updated with specific date range |
| `hubot issue any <#label>` | Lists all the open & closed issues with specific label assigned to a known github user |
| `hubot issue any <#label> ` | Lists all the open & closed issues updated with specific label and date assigned to a known github user |
| `hubot issue any <#label> ` | Lists all the open & closed issues updated with specific label and date assigned to a known github user |
| `hubot issue any <#text>` | Lists all the open & closed issues with specific text assigned to a known github user |
| `hubot issue any <#text> ` | Lists all the open & closed issues updated with specific text and date assigned to a known github user |
| `hubot issue any <#text> ` | Lists all the open & closed issues updated with specific text and date range assigned to a known github user |
| `hubot issue closed`
`hubot issue closed all` | Lists all the closed issues |
| `hubot issue closed `
`hubot issue closed all ` | Lists all the closed issues with specific date |
| `hubot issue closed `
`hubot issue closed all ` | Lists all the closed issues with specific date range |
| `hubot issue closed <#label>`
`hubot issue closed all <#label>` | Lists all the closed issues with specific label |
| `hubot issue closed <#label> `
`hubot issue closed all <#label> ` | Lists all the closed issues with specific label and date |
| `hubot issue closed <#label> `
`hubot issue closed all <#label> ` | Lists all the closed issues with specific label and date range |
| `hubot issue closed <“text”>`
`hubot issue closed all <“text”>` | Lists all the closed issues with specific text |
| `hubot issue closed <“text”> `
`hubot issue closed all <“text”> ` | Lists all the closed issues with specific text and date |
| `hubot issue closed <“text”> `
`hubot issue closed all <“text”> ` | Lists all the closed issues with specific text and date range |
| `hubot issue closed ` | Lists all the closed issues assigned to a known github user |
| `hubot issue closed ` | Lists all the closed issues assigned to a known github user with specific date |
| `hubot issue closed ` | Lists all the closed issues assigned to a known github user with specific date range |
| `hubot issue closed <#label>` | Lists all the closed issues with specific label assigned to a known github user |
| `hubot issue closed <#label> ` | Lists all the closed issues with specific label assigned to a known github user with specific date |
| `hubot issue closed <#label> ` | Lists all the closed issues with specific label assigned to a known github user with specific date range |
| `hubot issue closed <“text”>` | Lists all the closed issues with specific text assigned to a known github user |
| `hubot issue closed <“text”> ` | Lists all the closed issues with specific text assigned to a known github user with specific date |
| `hubot issue closed <“text”> ` | Lists all the closed issues with specific text assigned to a known github user with specific date range |
| `hubot issue open`
`hubot issue open all` | Lists all the open issues |
| `hubot issue open `
`hubot issue open all ` | Lists all the open issues with specific date |
| `hubot issue open `
`hubot issue open all ` | Lists all the open issues with specific date range |
| `hubot issue open <#label>`
`hubot issue open all <#label>` | Lists all the open issues with specific label |
| `hubot issue open <#label> `
`hubot issue open all <#label> ` | Lists all the open issues with specific label and date |
| `hubot issue open <#label> `
`hubot issue open all <#label> ` | Lists all the open issues with specific label and date range |
| `hubot issue open <“text”>`
`hubot issue open all <“text”>` | Lists all the open issues with specific text |
| `hubot issue open <“text”> `
`hubot issue open all <“text”> ` | Lists all the open issues with specific text and date |
| `hubot issue open <“text”> `
`hubot issue open all <“text”> ` | Lists all the open issues with specific text and date range |
| `hubot issue open ` | Lists all the open issues assigned to a known github user |
| `hubot issue open ` | Lists all the open issues assigned to a known github user with specific date |
| `hubot issue open ` | Lists all the open issues assigned to a known github user with specific date range |
| `hubot issue open <#label>` | Lists all the open issues with specific label assigned to a known user |
| `hubot issue open <#label> ` | Lists all the open issues with specific label and date assigned to a known user |
| `hubot issue open <#label> ` | Lists all the open issues with specific label and date range assigned to a known user |
| `hubot issue open <“text”>` | Lists all the open issues with specific text assigned to a known user |
| `hubot issue open <“text”> ` | Lists all the open issues with specific text and date assigned to a known user |
| `hubot issue open <“text”> ` | Lists all the open issues with specific text and date range assigned to a known user |
| `hubot issue close <#number>` | Close an existing issue |
| `hubot issue reopen <#number>` | Re-open an existing issue |
| `hubot issue create <“title”>` | Create an issue with title |
| `hubot issue create <“title”> <#label>` | Create an issue with title and label |
| `hubot issue create <“title”> body <{body}>` | Create an issue with title and body |
| `hubot issue create <“title”> body <{body}> <#label>` | Create an issue with title, body, and label |### Github Pull Request
------List GitHub pull request(s)
| Command | Description |
| --- | --- |
| `hubot pr <#number>` | Display a pull request with specific number |
| `hubot pr any`
`hubot pr any all` | Lists all the open & closed pull requests |
| `hubot pr any `
`hubot pr any all ` | Lists all the open & closed pull requests updated with specific date |
| `hubot pr any `
`hubot pr any all ` | Lists all the open & closed pull requests updated with specific date range |
| `hubot pr any <#label>`
`hubot pr any all <#label>` | Lists all the open & closed pull requests with specific label |
| `hubot pr any <#label> `
`hubot pr any all <#label> ` | Lists all the open & closed pull requests updated with specific label and date |
| `hubot pr any <#label> `
`hubot pr any all <#label> ` | Lists all the open & closed pull requests updated with specific label and date range |
| `hubot pr any <#text>`
`hubot pr any all <#text>` | Lists all the open & closed pull requests with specific text |
| `hubot pr any <#text> `
`hubot pr any all <#text> ` | Lists all the open & closed pull requests updated with specific text and date |
| `hubot pr any <#text> `
`hubot pr any all <#text> ` | Lists all the open & closed pull requests updated with specific text and date range |
| `hubot pr any ` | Lists all the open & closed pull requests assigned to a known github user |
| `hubot pr any ` | Lists all the open & closed pull requests assigned to a known github user updated with specific date |
| `hubot pr any ` | Lists all the open & closed pull requests assigned to a known github user updated with specific date range |
| `hubot pr any <#label>` | Lists all the open & closed pull requests with specific label assigned to a known github user |
| `hubot pr any <#label> ` | Lists all the open & closed pull requests updated with specific label and date assigned to a known github user |
| `hubot pr any <#label> ` | Lists all the open & closed pull requests updated with specific label and date assigned to a known github user |
| `hubot pr any <#text>` | Lists all the open & closed pull requests with specific text assigned to a known github user |
| `hubot pr any <#text> ` | Lists all the open & closed pull requests updated with specific text and date assigned to a known github user |
| `hubot pr any <#text> ` | Lists all the open & closed pull requests updated with specific text and date range assigned to a known github user |
| `hubot pr closed`
`hubot pr closed all` | Lists all the closed pull requests |
| `hubot pr closed `
`hubot pr closed all ` | Lists all the closed pull requests with specific date |
| `hubot pr closed `
`hubot pr closed all ` | Lists all the closed pull requests with specific date range |
| `hubot pr closed <#label>`
`hubot pr closed all <#label>` | Lists all the closed pull requests with specific label |
| `hubot pr closed <#label> `
`hubot pr closed all <#label> ` | Lists all the closed pull requests with specific label and date |
| `hubot pr closed <#label> `
`hubot pr closed all <#label> ` | Lists all the closed pull requests with specific label and date range |
| `hubot pr closed <“text”>`
`hubot pr closed all <“text”>` | Lists all the closed pull requests with specific text |
| `hubot pr closed <“text”> `
`hubot pr closed all <“text”> ` | Lists all the closed pull requests with specific text and date |
| `hubot pr closed <“text”> `
`hubot pr closed all <“text”> ` | Lists all the closed pull requests with specific text and date range |
| `hubot pr closed ` | Lists all the closed pull requests assigned to a known github user |
| `hubot pr closed ` | Lists all the closed pull requests assigned to a known github user with specific date |
| `hubot pr closed ` | Lists all the closed pull requests assigned to a known github user with specific date range |
| `hubot pr closed <#label>` | Lists all the closed pull requests with specific label assigned to a known github user |
| `hubot pr closed <#label> ` | Lists all the closed pull requests with specific label assigned to a known github user with specific date |
| `hubot pr closed <#label> ` | Lists all the closed pull requests with specific label assigned to a known github user with specific date range |
| `hubot pr closed <“text”>` | Lists all the closed pull requests with specific text assigned to a known github user |
| `hubot pr closed <“text”> ` | Lists all the closed pull requests with specific text assigned to a known github user with specific date |
| `hubot pr closed <“text”> ` | Lists all the closed pull requests with specific text assigned to a known github user with specific date range |
| `hubot pr open`
`hubot pr open all` | Lists all the open pull requests |
| `hubot pr open `
`hubot pr open all ` | Lists all the open pull requests with specific date |
| `hubot pr open `
`hubot pr open all ` | Lists all the open pull requests with specific date range |
| `hubot pr open <#label>`
`hubot pr open all <#label>` | Lists all the open pull requests with specific label |
| `hubot pr open <#label> `
`hubot pr open all <#label> ` | Lists all the open pull requests with specific label and date |
| `hubot pr open <#label> `
`hubot pr open all <#label> ` | Lists all the open pull requests with specific label and date range |
| `hubot pr open <“text”>`
`hubot pr open all <“text”>` | Lists all the open pull requests with specific text |
| `hubot pr open <“text”> `
`hubot pr open all <“text”> ` | Lists all the open pull requests with specific text and date |
| `hubot pr open <“text”> `
`hubot pr open all <“text”> ` | Lists all the open pull requests with specific text and date range |
| `hubot pr open ` | Lists all the open pull requests assigned to a known github user |
| `hubot pr open ` | Lists all the open pull requests assigned to a known github user with specific date |
| `hubot pr open ` | Lists all the open pull requests assigned to a known github user with specific date range |
| `hubot pr open <#label>` | Lists all the open pull requests with specific label assigned to a known user |
| `hubot pr open <#label> ` | Lists all the open pull requests with specific label and date assigned to a known user |
| `hubot pr open <#label> ` | Lists all the open pull requests with specific label and date range assigned to a known user |
| `hubot pr open <“text”>` | Lists all the open pull requests with specific text assigned to a known user |
| `hubot pr open <“text”> ` | Lists all the open pull requests with specific text and date assigned to a known user |
| `hubot pr open <“text”> ` | Lists all the open pull requests with specific text and date range assigned to a known user |### Blogs
- [Hubot Slack setup]
[#slack]: https://slack.com/
[Hubot]: https://hubot.github.com/
[Hubot Slack setup]: https://devopsqa.wordpress.com/2019/03/19/hubot-slack-setup/