Author Topic: Autoupdate Follower Goal  (Read 7888 times)

0 Members and 1 Guest are viewing this topic.

Kantoyt

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Kantoyt
Autoupdate Follower Goal
« 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

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Autoupdate Follower Goal
« Reply #1 on: September 08, 2014, 10:29:30 PM »
This should automatically update itself. Do you have "Follower Targets" enabled?
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

Bigirish

  • Youngling
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
  • Twitch Name: BigIrish81
Re: Autoupdate Follower Goal
« Reply #2 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

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Autoupdate Follower Goal
« Reply #3 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?
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

DC1086

  • Youngling
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
  • Twitch Name: DC1086
Re: Autoupdate Follower Goal
« Reply #4 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?

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Autoupdate Follower Goal
« Reply #5 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

ThatGirlSlays

  • Youngling
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
    • Instagram
  • Twitch Name: ThatGirlSlays
Re: Autoupdate Follower Goal
« Reply #6 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?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Autoupdate Follower Goal
« Reply #7 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.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

ThatGirlSlays

  • Youngling
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
    • Instagram
  • Twitch Name: ThatGirlSlays
Re: Autoupdate Follower Goal
« Reply #8 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.