Setup minibot Code

setup function.