Put Offline/Online in their own Events

This commit is contained in:
DeSqBlocki
2025-02-09 22:36:28 +01:00
parent 732936f044
commit d96868931e
7 changed files with 159 additions and 142 deletions
+2 -2
View File
@@ -159,8 +159,8 @@ async function updateChatMode(broadcaster_id, setTo) {
}
// Get channel information
async function getChannelInformation(streamer) {
const broadcaster_id = await getIDByName(streamer)
async function getChannelInformation(user_login) {
const broadcaster_id = await getIDByName(user_login)
return await makeHelixRequest('GET', 'channels', { broadcaster_id });
}