diff --git a/package.json b/package.json index d041c97..da6b147 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vaverix-twitch-bot", "description": "Desktop application that allows you to log-in into multiple Twitch.tv channels at once. It also notifies you when someone mentions you in any channel you choose and has couple of other extra features.", "author": "vaverix", - "version": "0.0.27", + "version": "0.0.28", "license": "MIT", "scripts": { "build": "yarn compile", diff --git a/src/main/functions.js b/src/main/functions.js index ac30f49..e513ecb 100644 --- a/src/main/functions.js +++ b/src/main/functions.js @@ -41,8 +41,8 @@ const helix = (clientId, oAuth, opts) => { let defaults = { base: 'https://api.twitch.tv/helix/', headers: { - Authorization: 'Bearer ejw09z72sa3lj1dv8739jm6dynygag', - 'Client-ID': '5hqxrcnbjuhjps777fe6qpxoq3wavm', + Authorization: 'Bearer 4vxa5borsy5nvjsc0mmaqbknyh4j9z', + 'Client-ID': '8naakiqzus8tqgvkaktgsged48vrzn', }, } return request(Object.assign(defaults, opts)) diff --git a/src/main/twitch/twitch.js b/src/main/twitch/twitch.js index 8f802cb..7e763dd 100644 --- a/src/main/twitch/twitch.js +++ b/src/main/twitch/twitch.js @@ -237,6 +237,7 @@ const startTwitchApp = (appData) => { appData.mainWindow.webContents.send('channel:join', channel) getBTTVEmotes(channel) twitchNameToUser(channel).then((user) => { + console.log(user) getBadges(user.id, channel) appData.channelIds[channel] = user.id appData.store.set('channelIds', appData.channelIds)