You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| PORT | Where the HTTP server should listen. | No |`8080`|
58
-
| STREAMLABS_TOKEN | A token to use the StreamLabs API. You can get one by using [StreamDevs/streamlabs-token](https://github.com/streamdevs/streamlabs-token)|**Yes**|_empty_|
59
-
| TWITCH_BOT_NAME | The account (username) that the chatbot uses to send chat messages. |**Yes**|_empty_|
60
-
| TWITCH_BOT_TOKEN | The token to authenticate your chatbot. Generate this with https://twitchapps.com/tmi/, while logged in to your chatbot account. The token will be an alphanumeric string. |**Yes**|_empty_|
61
-
| TWITCH_BOT_CHANNEL | The Twitch channel name where you want to run the bot. Usually this is your main Twitch account. |**Yes**|_empty_|
62
-
| NOTIFY_ISSUES_ASSIGNED_TO | A comma-separated list of GitHub user names. Only issues assigned to these users will be notified or leave it empty to receive all notifications. |**No**|_empty array_|
63
-
| IGNORE_PR_OPENED_BY | A comma-separated list of GitHub user names. Only PR not opened by these users will be notified or leave it empty to receive all notifications. |**No**|_empty array_|
64
-
| NOTIFY_CHECK_RUNS_FOR | Comma-separated list of branches to notify Check Runs for. Leave empty to notify for any branch |**No**|_empty__array_|
65
-
66
-
## How to configure the webhook in GitHub
67
-
68
-
### For sponsorships
90
+
| STREAMLABS_TOKEN | A token to use the StreamLabs API. You can get one by using [StreamDevs/streamlabs-token](https://github.com/streamdevs/streamlabs-token)| No |_empty_|
91
+
| TWITCH_BOT_NAME | The account (username) that the chatbot uses to send chat messages. | No |_empty_|
92
+
| TWITCH_BOT_TOKEN | The token to authenticate your chatbot. Generate this with https://twitchapps.com/tmi/, while logged in to your chatbot account. The token will be an alphanumeric string. | No |_empty_|
93
+
| TWITCH_BOT_CHANNEL | The Twitch channel name where you want to run the bot. Usually this is your main Twitch account. | No |_empty_|
94
+
| NOTIFY_ISSUES_ASSIGNED_TO | A comma-separated list of GitHub user names. Only issues assigned to these users will be notified or leave it empty to receive all notifications. | No |_empty array_|
95
+
| IGNORE_PR_OPENED_BY | A comma-separated list of GitHub user names. Only PR not opened by these users will be notified or leave it empty to receive all notifications. | No |_empty array_|
96
+
| NOTIFY_CHECK_RUNS_FOR | Comma-separated list of branches to notify Check Runs for. Leave empty to notify for any branch | No |_empty__array_|
97
+
98
+
### GitHub Configuration
99
+
100
+
#### Repositories
101
+
102
+
0. Open your repository settings on GitHub.
103
+
1. Go to the **Webhooks** section.
104
+
2. Click on **Add webhook**.
105
+
3. On the **Payload** field, enter the GitHub endpoint for your deployed webhook. For example `https://YOUR-SITE-HERE.herokuapp.com/github`.
106
+
4. For **Content type** we want to select `application/json`.
107
+
5. On **Which events would you like to trigger this webhook?** select `Let me select individual events`.
108
+
6. On the list of events check the following:
109
+
- Check runs
110
+
- Forks
111
+
- Issues
112
+
- Pull requests
113
+
- Releases
114
+
- Stars
115
+
7. Make sure the `Active` checkbox is checked
116
+
8. Click on `Add webhook`
117
+
9. You will receive your first notification on Twitch Chat and StreamLabs letting you now your webhook has been configured correctly.
118
+
119
+
#### Sponsorships
69
120
70
121
[Check the GitHub documentation](https://help.github.com/en/github/supporting-the-open-source-community-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)
71
122
@@ -81,7 +132,7 @@ Everyone is welcome to contribute to this repository. To do so follow these step
81
132
82
133
### Deploying to Heroku
83
134
84
-
You can use the "[deploy to Heroku](#webhook)" button link at the top of this readme file or use the Heroku CLI
135
+
You can use the "[deploy to Heroku](#deploy-to-heroku)" button or use the Heroku CLI
85
136
86
137
### Configuring your local repo to deploy on Heroku
0 commit comments