it wasn’t me that wanted it. i was just suggesting that in case that was what he wanted xD
Whoops, I’m tired at the moment. Sorry.
Haha all good, its close to midnight here and i’m still editing my stream, so i get it all too well xD
I would like to if there is a command to show my most Active Followers in like a top 10 list and show how much time they put in on my stream. ive seen it on some streams and still can figure out how they did it
That’s not a feature of Nightbot, and will require some other type of bot with support for it. A custom API alone cannot do that, sorry.
Can you create me a code for random viewer pick so it could be a raffle system
This is already created.
Everytime I try to use it . The code never goes through am I suppose to replace something in the link
https://apis.rtainc.co/twitchbot/randomviewer?user=USER&capitalization=CAPS
Where USER
is the channel name and CAPS
can be True
or untouched.
And put that into a nightbot customapi:
$(customapi https://apis.rtainc.co/twitchbot/randomviewer?user=USER&capitalization=CAPS)
My twitch name is Ecs2sy would you mind doing the link for you it will be much appreciated
$(customapi https://apis.rtainc.co/twitchbot/randomviewer?user=ecs2sy&capitalization=CAPS)
Thank you very very much
Do you know of any other bot that can do that
Out of respect for NightDev I won’t post any here. I’ve sent you a PM with some bots that do, though.
Hello, it seems that the sub length command is not working properly. Could you please give me more insight on how to use it?. I tried but it always gives me an incorrect sub length.
Thanks in advance
https://api.rtainc.co/twitch/subbed-since?token=TOKEN&user=USER
-
TOKEN
is the code the person with the sub button gets by going to https://apis.rtainc.co/twitchbot/token. -
USER
is the name of the subscriber.
To get the sub length of the person doing the command (e.g. !sublength
):
https://api.rtainc.co/twitch/subbed-since?token=TOKEN&user=$(user)
To get the sub length of a specified user (e.g. !sublength rtainc
):
https://api.rtainc.co/twitch/subbed-since?token=TOKEN&user=$(touser)
Thank you for the answer. But the problem is that the channel that i am using this, i am subbed for almost 11 months and it shows the same answer all the time - 8 months and 2 days. I did exactly the way you instructed me.
Thank you in advance
That’s odd. If you PM me the token and your Twitch name, I’ll look into it.
How do you use these API’s? Such as https://apis.rtainc.co/twitchbot/following?channel=CHANNEL&user=USER This one meant to return how long a USER has been following the CHANNEL
For example (remember to replace CHANNEL
with the channel’s name),
!addcom !howlong $(user) has been following for: $(customapi https://apis.rtainc.co/twitchbot/following?channel=CHANNEL&user=$(user))
Then you can use the command…
rtainc: !howlong
Nightbot: rtainc has been following for: 1 month, 3 days