From 3e33b0cebfab4c7e8df2fd1c709026457e094158 Mon Sep 17 00:00:00 2001 From: SocksTheWolf <132639882+SocksTheWolf@users.noreply.github.com> Date: Sat, 15 Jul 2023 20:51:01 -0700 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f8130c7..6bac3a5 100644 --- a/README.md +++ b/README.md @@ -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.