Uh oh!
There was an error while loading. Please reload this page.
Update sentiment-bot to require Probot v7.2.0 - #29
Conversation
- Update package-lock as well
- Update old reference from createRobot method to the new Application class that's being loaded and invoke the class before assigning to the `robot` const. - Update payload object key from `event` to `name` as `event` is now deprecated.
Thanks so much for opening your first PR here! |
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes. |
hiimbex
left a comment
There was a problem hiding this comment.
Thanks so much for the PR! 🎃 one more short update - I should've specified in the original issue, but can we update all uses of robot to app?
| // PERSPECTIVE_API_KEY must be set | ||
| process.env.PERSPECTIVE_API_KEY = 'mock-key' | ||
| const robot = createRobot() | ||
| const robot = new Application() |
There was a problem hiding this comment.
Could we also changed robot to app here in the tests and in the index.js file?
There was a problem hiding this comment.
👍 Sure! Please take a look at the latest commit, I'll wait for your review before doing the same for the other apps!
- As per PR#29, I've removed all references to `robot` and updated the keyword to be `app`, due to the update to the probot dependency to v7.2.0
Congrats on merging your first pull request here! 🎉 How awesome! |
In the spirit of participating for Hacktoberfest, I'm making a PR to help out with this Updating Probot issue in welcome opened by @hiimbex.
This PR will
package.jsonto require Probot v7.2.0 or higherThis is my first time contributing to this project! Please let me know if I'm missing anything :)