hubot-python-scripts
                                
                                 hubot-python-scripts copied to clipboard
                                
                                    hubot-python-scripts copied to clipboard
                            
                            
                            
                        Add docs on how to set this up?
E.g.: what files need to be copied into my hubot installation to make this work?
Thanks for sharing this!
+1
I'd be willing to do this with some help :D
I got this working like so:
- 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-scriptsnpm install ./hubot-python-scripts/ --save
- Then add "hubot-python-scripts" to external-scripts.json
- Finally, you can start hubot and start testing: bin/hubotNote: 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
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
I just made it by removing the "repository" in package.json file.It works now.
Thanks friend for the great script in python