Hi,
some Background Info: ||There are a lot of Followbots on Twitch and some Viewers complain,
when Streamers celebrate this fake numbers.
There is a way to ban/block them via Commander Root Tools
but only with actual Streamer Account access.
Since you could accidentally kick all your followers this isn't something that i would want a unexperienced streamer to perform and kill all his progress.||
So my Idea was to simply add a !followers command that would deduct the number of known Bots from the Commander Root Site (which can be checked by every Mod) from the Twitch numbers.
Since there is no way to save values directly in Nightbot i used the CustomAPI Quote System to have a command for all the Mods to Update the Known Bots number.
That gave me 3 commands:
!followers - (split + join because of the added thousands separator)
has already $(eval "$(twitch $(channel) "{{followers}}")".split(",").join("") - $(urlfetch https://twitch.center/customapi/quote?token=d1d06372&data=1&no_id=1); ) Followers. *Not including known Bots
!setbots *x* - (1x quote needed to be created first)
$(urlfetch https://twitch.center/customapi/editquote?token=176fd9d9e5804630&data=1 $(querystring)&silent=1)
!getbots
$(urlfetch https://twitch.center/customapi/quote?token=d1d06372&data=1&no_id=1)
Following that my idea was to make one !bots command with multiple arguments.
This generally works but isnt pretty (not a programmer).
Problem is that the URL's blow this beyond the 500 character limit
!bots get | set x | url
$(evalinput="$(1)";number="$(2)";channel="$(channel)";