February 21, 20187 yr Hi, I was wondering if it's better/cleaner to pass the MethodProvider instance rather than the Script instance to another class - let's say a Node class. Any thoughts?
February 21, 20187 yr Just make your Node class extend MethodProvider then pass your Script instance to any Nodes Edited February 21, 20187 yr by Anoo
February 21, 20187 yr The "correct" way is to pass the bot instance, however there are many solutions that also work.
February 22, 20187 yr 12 hours ago, Alek said: The "correct" way is to pass the bot instance, however there are many solutions that also work. A lot of scripters are writing their own nodes. Why not make an official OSBot one? It'd just be an extra extendable class.
Create an account or sign in to comment