Closed matteocrippa closed 2 years ago
Hi! Thanks for this. I agree it's a nice feature. However could it become even nicer 💯 if it allows providing a function instead? then the developer can do whatever they want with the users. E.g.:
shouldFollowUser: (username) => someCustomLogic(username),
and which would of course default to () => true
@mifi This should be closed now that #99 has been implemented.
Hey @mifi first of all very good job for your bot! I was playing with that and I see there was room for an extra feature, basically a filter that checks if the username of the user contains a partial from an array of strings.
As you can imagine is just enough to set
And in this way the script will skip all the user that does not contains in the username the keyword
nice
orcar
.