Files
probot.github.io/docs/hello-world.md
Brandon Keepers 6ac0fd24c0 Tweak doc h1
2017-08-07 13:21:53 -05:00

16 lines
368 B
Markdown

---
next: docs/development.md
---
# Hello World
A Probot plugin is just a [Node.js module](https://nodejs.org/api/modules.html) that exports a function:
```js
module.exports = robot => {
// your code here
};
```
The `robot` parameter is an instance of [`Robot`](https://probot.github.io/probot/latest/Robot.html) and gives you access to all of the bot goodness.