This commit is contained in:
DeSqBlocki
2025-02-09 00:34:42 +01:00
parent e74aef15b9
commit 156098b011
5 changed files with 69 additions and 8 deletions
+2 -1
View File
@@ -156,7 +156,8 @@ async function updateChatMode(broadcaster_id, setTo) {
}
// Get channel information
async function getChannelInformation(broadcaster_id) {
async function getChannelInformation(streamer) {
const broadcaster_id = await getIDByName(streamer)
return await makeHelixRequest('GET', 'channels', { broadcaster_id });
}