mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-01-12 22:49:53 +08:00
Merge pull request #186 from probot/robot-to-app
Rename `robot` to `app`
This commit is contained in:
@@ -81,8 +81,8 @@ layout: default
|
||||
<div class="col-md-6">
|
||||
<div class="rounded-2 overflow-hidden border" style="margin-left: 60px;">
|
||||
{% highlight javascript %}
|
||||
module.exports = robot => {
|
||||
robot.on('issues.opened', async context => {
|
||||
module.exports = app => {
|
||||
app.on('issues.opened', async context => {
|
||||
const params = context.issue({
|
||||
body: 'Hello World!'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user