Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SocksTheWolf authored Jul 16, 2023
1 parent c3b7d74 commit 3e33b0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Setup will go over how to run it locally.

1. Create a new application via Twitch developer console. This will give you a client id.
2. Go generate an OAuth token for your new client id. You will need the following scopes: `channel:edit:commercial channel_commercial channel_read`
3. In script.js, modify the line: `let twitchOAuthToken = "";` to equal the new oauth token you have generated.
3. In *script.js*, modify the line: `let twitchOAuthToken = "";` to equal the new oauth token you have generated.
4. Grab your twitch channel id. This will be a numeric value. You need this so you can properly subscribe to the advertisement messaging for your channel.
5. Insert this number in between the quote marks in script.js for `let twitchUserID = "";`
6. Save the changes to script.js
5. Insert this number in between the quote marks in *script.js* on the line that says `let twitchUserID = "";`
6. Save the changes to *script.js*
7. Create a new browser scene in OBS, point it to your file.
8. You will now get ad overlays and a notification ding (remember to have your browser source also control audio through OBS and monitor that sound channel) whenever you get ads playing on your channel.

0 comments on commit 3e33b0c

Please sign in to comment.