hubot-python-scripts icon indicating copy to clipboard operation
hubot-python-scripts copied to clipboard

Add docs on how to set this up?

Open msabramo opened this issue 9 years ago • 4 comments

E.g.: what files need to be copied into my hubot installation to make this work?

Thanks for sharing this!

msabramo avatar Oct 20 '15 13:10 msabramo

+1

I'd be willing to do this with some help :D

stevemcquaid avatar Jan 30 '16 17:01 stevemcquaid

I got this working like so:

  1. This project is actually an npm package, as I discovered. So you can install it like so: git clone https://github.com/scopely/hubot-python-scripts npm install ./hubot-python-scripts/ --save
  2. Then add "hubot-python-scripts" to external-scripts.json
  3. Finally, you can start hubot and start testing: bin/hubot Note: The python scripts don't have help output attached to them, so you pretty much either have to add that or work by trial and error.

This triggered the action defined in scripts/right_hubot.py:

You're awesome, right, hubot?

To which he responded:

yep

berttejeda avatar May 23 '16 19:05 berttejeda

How do i create my own my python script?. In "Scripts Folder".

I just created a script and compiled it .And also i enabled the script in package.json file.However I am getting error.

npm WARN Failed to parse json npm WARN Unexpected string in JSON at position 480 while parsing '{ npm WARN "name": "hubot-python-scripts' npm WARN File: /Users/username/my-hubot/hubot-python-scripts/package.json

natarajan0007 avatar Mar 03 '18 04:03 natarajan0007

I just made it by removing the "repository" in package.json file.It works now.

Thanks friend for the great script in python

natarajan0007 avatar Mar 03 '18 04:03 natarajan0007