Hello, I will use the nightbot AutoDJ feature.
I want to associate Nightbot with my own youtube account and give commands from there.
It says oAuth2 code or something, but I couldn't find it. Can you give detailed information about it?
Make youtube account night bot
18 replies
Hey @Dusty Narwhal!
The way to link Nightbot to your YouTube account is to log in with your YouTube account, simple as that, there's no need to link an app or to create another one, so you've gone too far on your screenshot.
If you mean linking your YouTube account to your Nightbot instance that's already linked to another streaming platform, this isn't possible: every instance of Nightbot are distinct, you can't create an account and have it linked to many streaming platforms at once.
I suggest you read the documentation for more information.
Polar Cat said:
Yes, then go to nightbot and log in with your YouTube account, if you’ve already done this, then you’re good to go, and you likely are given that you were able to take that screenshot.
Hello, they make features such as nightbot's features (!sr, timer) from their own youtube channel profiles.
I think they are using something like Nightbot api, I wonder how they do it.
Nope, they're using default commands, you already have access to them, again, please read the documentation.
Ah, is it what you were talking about since the beginning? Because that wasn't clear.
If you want to input commands in another channel to act on your channel, then yes, Nightbot's API is the right way to do what you're looking for then, you'll need to write your own API to communicate from one instance of Nightbot to the other.
We won't write it for you, so hopefully you're knowledgeable in a programming language.
Dusty Narwhal said:
I will just make a bot that will activate the client of my account, when I connect it with the nightbot, I will use the nightbot commands automatically?
Not necessarily a bot, an API is just a link, and then you call the API link with Nightbot to do something.
Dusty Narwhal said:
I want to ask one more question. I ran the song request command with the Nightbot app, how do I transfer it to obs.
Is there any way I can print the music outputs {{url}} to a VLC player?
None of this is possible natively, writing an API is your best bet.
No, you're on your own, the API is provided as an extra for advanced users who wish to do more with Nightbot. If you had made some effort so far then we'd help a bit, but if you want to use the API, you're supposed to know how to write code.
I really don't understand why you go through all that pain for something that already works, you're trying to reinvent the wheel, just use the Auto DJ and the !songs commands Nightbot comes with by default.
And if you really want to use AutoDJ from another chat, nothing is stopping you from capturing the audio of your second instance of Nightbot.
Didn't find your answer? The community is on Discord.
Ask on Discord
