Added Twitch Live Notification on all registered guilds

This commit is contained in:
DeSqBlocki
2025-02-09 14:37:09 +01:00
parent 156098b011
commit 50afd85201
2 changed files with 84 additions and 1 deletions
+5 -1
View File
@@ -161,4 +161,8 @@ async function getChannelInformation(streamer) {
return await makeHelixRequest('GET', 'channels', { broadcaster_id });
}
module.exports = { getChannelInformation, updateChatMode, getIDByName, makeHelixRequest, delay, refreshAccessToken }
async function getStreams(user_login){
return await makeHelixRequest('GET', 'streams', { user_login });
}
module.exports = { getChannelInformation, updateChatMode, getIDByName, makeHelixRequest, delay, refreshAccessToken, getStreams }