Skip to content

Commit

Permalink
index update for 7TVHelper update
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiszh authored Oct 12, 2024
1 parent 147d0aa commit 854029c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async function handleChat(channel, userstate, message, self) {

if (elapsedTime >= 300000) {
if (foundUser.sevenTVId) {
foundUser.sevenTVData = await getUser(foundUser.sevenTVId)
foundUser.sevenTVData = await getUser(foundUser.sevenTVId, foundUser.userId)
}
}
}
Expand All @@ -205,7 +205,7 @@ async function handleChat(channel, userstate, message, self) {
let sevenTVUserData = null

if (sevenTV_id) {
sevenTVUserData = await getUser(sevenTV_id)
sevenTVUserData = await getUser(sevenTV_id, userstate["user-id"])
}

let user = {
Expand Down Expand Up @@ -1663,7 +1663,7 @@ async function loadSevenTV() {
let sevenTVUserData = null

if (SevenTVID) {
sevenTVUserData = await getUser(SevenTVID)
sevenTVUserData = await getUser(SevenTVID, channelTwitchID)
}

let user = {
Expand Down

0 comments on commit 854029c

Please sign in to comment.