C
CornerLord
Guest
Hello everyone!
I'm currently trying to create Twitch overlay game for my streams, but i can't figure out how I could make players join it automatically when they enter to my channel. Now viewers have to type "!join" to join but it would be awesome if I could make automatic.
I'm using this project for my game: https://github.com/kbjwes77/GMTwitch
I think this is the way to make that happen. Connect to https://tmi.twitch.tv/group/user/USERNAMEHERE/chatters, get all the names of the viewers and put them into a list. For example every 3mins check names again and create new list and compare it to the previous list and add new players to game. Clear the lists when exiting.
I'm not familiar with stuff like this so it would be nice if you could give me some code to help me to understand. Thanks for help!
I'm currently trying to create Twitch overlay game for my streams, but i can't figure out how I could make players join it automatically when they enter to my channel. Now viewers have to type "!join" to join but it would be awesome if I could make automatic.
I'm using this project for my game: https://github.com/kbjwes77/GMTwitch
I think this is the way to make that happen. Connect to https://tmi.twitch.tv/group/user/USERNAMEHERE/chatters, get all the names of the viewers and put them into a list. For example every 3mins check names again and create new list and compare it to the previous list and add new players to game. Clear the lists when exiting.
I'm not familiar with stuff like this so it would be nice if you could give me some code to help me to understand. Thanks for help!
Last edited by a moderator: