Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: Kantoyt on September 04, 2014, 02:03:00 PM

Title: Autoupdate Follower Goal
Post by: Kantoyt on September 04, 2014, 02:03:00 PM
Hello,
you can create a follower goal. But it doesn't automatically update itself
Would you integrate this
Title: Re: Autoupdate Follower Goal
Post by: Dante557 on September 08, 2014, 10:29:30 PM
This should automatically update itself. Do you have "Follower Targets" enabled?
Title: Re: Autoupdate Follower Goal
Post by: Bigirish on April 26, 2015, 04:19:03 AM
I know this is a bit of an old thread and this might be a dumb question but I'm curious.  I've got follower targets enabled, but the follower goal doesn't appear in OBS when I add the source.  Am I missing something and/or blind?  I'd like to leave it on the screen at all times.

Thanks in advance,

irish
Title: Re: Autoupdate Follower Goal
Post by: TheNumbLock on April 26, 2015, 04:35:58 AM
I know this is a bit of an old thread and this might be a dumb question but I'm curious.  I've got follower targets enabled, but the follower goal doesn't appear in OBS when I add the source.  Am I missing something and/or blind?  I'd like to leave it on the screen at all times.

Thanks in advance,

irish

Are you adding the text file or CLR Browser?
Title: Re: Autoupdate Follower Goal
Post by: DC1086 on August 01, 2015, 08:59:50 PM
I too would like to display this on my OBS stream. What are the steps that I need to follow in order to implement this?

Also, my Deepbot is not recognising existing followers as 'followers', only new ones. Can i fix this?
Title: Re: Autoupdate Follower Goal
Post by: emrerocky on August 02, 2015, 01:31:31 AM
1.  There is a followers goal text file in the obs folder of your DeepBot directory.

2. Twitch has blocked access to the full follower list. As such, the bot can no longer keep followers in sync, and won't be able to offer any options that rely on the full follower list.  More details : https://github.com/justintv/Twitch-API/issues/320
Title: Re: Autoupdate Follower Goal
Post by: ThatGirlSlays on May 09, 2017, 11:35:12 PM
Figured I'd tack onto this thread because my question is similar. I am interested in the follower goal (I'm not sure if DeepBot's follower goal is for total followers or session followers). Basically I want to set a follower goal for the session and if that goal is met, perform a custom command. The custom command ideal would display an alert sound with possibly an on-screen popup image and message with a message sent to chat that says something like "Woo hoo! The follower goal was met". I'd then like to give all active user in the stream bonus points. Anyone create something similar to this? Is it even possible?
Title: Re: Autoupdate Follower Goal
Post by: TheNumbLock on May 10, 2017, 12:17:02 AM
You can do per session. As for the command, you would have it read the .txt file and check till is the .txt file matches. If it matches run another command, if not, then keep checking till goal is reached.

Example:

Command: !followgoalcheck

Command Message: @if@[@readfile@[C:\Deepbot - Twitch Stream Assistant\obs\FollowerTarget.txt]||50/50||Insert command here to trigger chat message and OBS Remote to enable image||@exec@[30,!followgoalcheck]]

I don't remember the exact output of the FollowerTarget.txt file, so may have to change 50/50 to whatever it should look like when the goal is met. But in my example, this would check the .txt file every 30 seconds to see if the .txt file reads 50/50 follower goal, once it reaches it, I would have it run the command to do chat message/pop up on the stream. If the goal isn't met, run the command again after 30 seconds.
Title: Re: Autoupdate Follower Goal
Post by: ThatGirlSlays on May 10, 2017, 09:30:51 PM
You can do per session. As for the command, you would have it read the .txt file and check till is the .txt file matches. If it matches run another command, if not, then keep checking till goal is reached.

Example:

Command: !followgoalcheck

Command Message: @if@[@readfile@[C:\Deepbot - Twitch Stream Assistant\obs\FollowerTarget.txt]||50/50||Insert command here to trigger chat message and OBS Remote to enable image||@exec@[30,!followgoalcheck]]

I don't remember the exact output of the FollowerTarget.txt file, so may have to change 50/50 to whatever it should look like when the goal is met. But in my example, this would check the .txt file every 30 seconds to see if the .txt file reads 50/50 follower goal, once it reaches it, I would have it run the command to do chat message/pop up on the stream. If the goal isn't met, run the command again after 30 seconds.

I set up the command up last night. One thing I had to change was the location of my DeepBot app. It's possible I accidentally changed the path when I was installing DB but my path is C:\Deepbot - Twitch Streamer Assistant. I also edited by Follower Notification setting to output only "@current@" instead of "@current / @target@", therefore I changed the line "||50/50||" to "||15||". I tried messing with some variables hoping I wouldn't have to manually type in 15, and hoping there was a variable somewhere for @followertarget@ so that I could use "||@followertarget@||" instead but no such variable exists, or at least I didn't find it. Another thing I looked at was in the Follower Notification, trying to get @current@ and @target@ to output on separate lines of the FollowerTarget.txt. I tried setting the output as "@current@ \n @target@" and a few other variations hoping I'd get the target to be on line 2. That was I would be able to read each line of the text file separately and not have to hardcode the value 15 in my command.

For now on a successful match I am just displaying a message to chat saying that we reached our goal. I will also add in the command !add [X] all.

I haven't started messing with creating widgets with a message, sound, and image. So that's my next goal.