In future posts I’ll go a bit deeper into understanding Javascript promises and OAuth integration via hubot scripts. So far I’ve written a couple of useful scripts ( movie recommendations or Google Calendar integration, anybody?) My hubot instance is deployed on Heroku and interfaces with my personal Slack instance via the awesome hubot-slack adapter. After you made sure st2chatops.env settings are correct, check if the service is running: service st2chatops status. Hubot ( /) and Meekan's scheduling bot (http. Make sure the login credentials and ST2HOSTNAME are correct. Slack's platform and leverage their extensive reach and user friendly interface. Here’s a defunct but useful starting point if you’re interested: hubot-scripts. After changing the adapter settings don’t forget to restart the service using this command: sudo service st2chatops restart. I’d like to contribute to that community. Build an NPM package: hubot has a large active community that contributes scripts regularly.Sometimes he’s sassy, sometimes, he’s useful. Have Fun: we use a hubot instance at work, and it’s fun to have your little helper bot.Perfect for that late-evening hack session. Do Code Katas: hubot lets me build and deploy Javascript/Coffeescript scripts, interact with public APIs, use OAuth, etc.Today I made the repository public so as to share what I learnt on this blog. Unable to send a message to specific channel in Slack with Hubot - SlackRTMError: no channel id. Meet mbbot - my personal instance of Github’s popular hubot project. how do I use hubot in order to pin item in slack channel 1. Read docs/patterns.md for some nifty tricks that may come in handy as you teach your hubot new skills.īuilt with <3 by GitHub, Inc.While Mark Zuckerberg builds his own version of Iron Man’s Jarvis this year, I went ahead and built a less ambitious (but no less fun) bot for myself last month. Using custom scripts, you can quickly customize Hubot to be the most life embettering robot he or she can be. Please note the support for deploying to Windows isn’t officially supported. You can deploy hubot to Heroku, which is the officially supported method.Īdditionally you are able to deploy hubot to a UNIX-like system or Windows. Here is a list of available adapters, along with details on how to configure them. Hubot uses the adapter pattern to support multiple chat-backends. Read more about customizing hubot by writing your own scripts. All scripts placed there are automatically loaded and ready to use with your hubot. You can also put your own scripts under the scripts/ directory. Run npm home to open a browser window for the homepage of the script, where you can find more information about configuring and installing the script.Add the package to external-scripts.json.Run npm install -save to add the package as a dependency and install it.Hubot-github Giving Hubot the ability to be a vital member of your github organization Hubot-gh-release-pr A hubot script to create GitHub's PR for release Hubot-deployer Giving Hubot the ability to deploy GitHub repos to PaaS providers hubot hubot-scripts hubot-gith You almost definitely will want to change your hubot’s name to add character. Hubot youtube me - Searches YouTube for the query and returns the video embed link. Hubot translate me from into - Translates from into. Hubot translate me - Searches for a translation for the and then prints that bad boy out. Hubot the rules - Make sure hubot still knows the rules. Hubot pronounce in - Provides pronunciation of ( is optional) Hubot mustache me - Adds a mustache to the specified URL. Hubot mustache me - Searches Google Images for the specified query and mustaches it. Hubot map me - Returns a map view of the area returned by `query`. Queries Google Images for and returns a random top result. Hubot help - Displays all help commands that match. Hubot help - Displays all of the help commands that hubot knows about. Hubot animate me - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |