How to use SLOBS & Streamlabs Chatbot to make a livestream chat command play a media source

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so here's gonna be a basic tutorial on how to take stream labs OBS stream labs chat BOTS and how to make them work together to produce a gif or media image from a chat command for example if you were in my chat and you use one of my commands like facepalm this is what you would get so I'm gonna take you step-by-step on how to do this so that a user in your chat can come in and use a command in your chat to prompt a gif or audio message some of the things you're gonna need you gonna need Stream labs OBS you're gonna need stream labs chat BOTS I'm using version 1.0 point two point six one you're gonna need Python and you're gonna need a script that you have to download so the script is called slobs remote parameters one point four point zero you can see it here Jenny lives chat bot discord they have a scripts area you can see all the scripts that they have pre-made for you to download the one we're looking for is slobs remote parameters you can download it there I'll also put it in the description and once you get that downloaded you're gonna have to configure your stream labs chat bot to take your script so if you've never used this before the first thing you're going to want to do so if you go to the settings in stream webs chat bot you want to make sure that your Python directory is going to be your Python file so if you were back at the Python web site and you downloaded your two seven one three version of Python you're gonna want to locate where that's installed so if I see drive Python 27 and you want the Lib folder you don't want lids you want Lib if you do libs it's going to break so you want to navigate to that so what we're gonna do is configure the streaming labs chat bot to do that it's just your directory for where your scripts are gonna go right so just like I just found it I'll do the same thing again and once you do it it'll tell you pick the Python lib directory and click Save which we're gonna do I've already done that so I don't need to do that again your API key it's gonna be important for when you load your scripts so once you have your Python directory configured you can start loading your scripts once you download a script you're gonna go into your scripts folder so it's gonna be we're gonna go to our PC we're gonna go to our local disk users whatever your username is you're gonna find your app data folder it's gonna be it might be hidden so you need to you need to unhide it so from your view tab if you click view and you click hidden items you'll be able to see your app data folder go into app data go into roaming find your stream labs folder stream lunch at bot lib I'm sorry services scripts and this is gonna be where you want to save the scripts that you're downloading so to recap a little bit we're gonna go back to the discord say for example I'm in the stream live check out this cord and I find a script that I really like I'll download it I will then move it from my downloads folder into this folder here it's easier if you pin this to quick access if you want to keep those here so once it's in this scripts folder and you have your Python directory loaded into this you're gonna hit right click and you're going to reload scripts and it's going to look for all the scripts that you have saved into that folder once it's here you can click on it and you can look at the settings this one is kind of basic so it has a guide it actually tells you kind of what you need to do in order to get this functional but right now before you do that you need to right click on this and click insert API key otherwise it won't work once you do that it'll give you a message so it will insert the API key and make sure that you want to do that of course you want to do that because if you don't it won't work and you have to click enabled once you do that save your settings and go back to the guide and I'll kind of walk you through a little bit about what this guide is going to talk about there are certain codes that you can do for this script so the biggest one we're looking at is the set visibility of a source and set visibility of a source and a timed manner the I use is this one for my media sources so it has kind of a logic to it you want the source the mode if it's gonna be like a toggle what the delay of that is going to be and then for the this one specific it's for what scene that you want it to be on I prefer to use this script right here just because it's very specific it tells the script exactly where you need to find that source and that way you'll have sources trying to turn on on different scenes so what that's supposed to look like you'll take this source right here I'm sorry not the source so take the code right here you'll go to your commands inside of your chat bot and we'll make a new command and I already have a media file that I'm going to use with this so I'm going to do this kind of so you get an idea of what it would start with if I were to go and I'll show you what I'm gonna use say for example I was on the internet and I found an mp4 file that I really liked this is the one I'm gonna use so this is what it'll look like who's that stumbling around in the dark alright so we got the guy he's saying that right so I'm gonna name this code stumblin everybody can use it it doesn't matter any of this data is kind of irrelevant but what is important is that you put the code in here and it's gonna read verbatim alright so looking at how this logic is gonna look now I'm gonna go back to my stream Labs OBS and what we're gonna do I'm gonna make a brand new scene and we're just gonna call it stumbling to add a new source I'm going to call it stumblin as well is going to be a media source stumblin right same thing I'm going to navigate to where that mp4 file is saved which is this is the one I want so it's gonna look like this right easy enough we've got the source and it'll appear I'm gonna put on a loop so that I can mess around with it for a little bit I like to resize it make it fit appropriately and make sure the audio is going to work so if you're not familiar with slobs sometimes when you put in a new media source it won't automatically give you the audio playback that you need you have to go to your mixer and hit the COG and obviously you see the new source that I just added here you have to turn it from monitor off to monitor on our mute output who's that stumbling around in the dark right so now we know it works who's that stumbling around in the dark and now that the the scene has been made and the source has been made I have to go back to the chat bot and what I have to do is tell this script exactly what I need so the source that is going to be called and it's case sensitive so it's called stumblin the mode is going to be you can do on off or on off or off on if that makes sense I'll kind of show you what I'm talking about so I'm not just spitting words here the mode set the visibility so it can be on or off I prefer the on off method because that's gonna work sort of like a toggle that's the default you you kind of get a little bit more into the Advanced Settings if you decide to do on off or off on so I would just leave it as on off for now the delay it kind of depends on how long your media source actually is that particular media source was only about five seconds long so I'm gonna do about seven seconds and then the scene the scene is really important as well the scene has to match case sensitive to exactly what the scene is called or it won't work so for this one we're gonna do it someone as well I made it kind of the same that way it's easy to figure out what to do you want to be careful if you're making the source a different name than what the scene is and vice versa so now that the command has been made let's see exactly how the command is going to work in chat so if a user came into my chat and they type in exclamation points tumblin just like it was supposed to read this is what will happen who's that stumbling around in the dark that's basically how you do it in a nutshell feel free to let me know if you guys have any questions
Info
Channel: GoatGames_
Views: 2,837
Rating: undefined out of 5
Keywords: Tutorial, live streaming tips, SLOBS, STREAMLABS CHATBOT, SCRIPTS
Id: Bm77vLdHvK4
Channel Id: undefined
Length: 8min 4sec (484 seconds)
Published: Sat Jan 18 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.