nothing here yet- still working on uhh everything, so for now a blank project, come back later to check on progress and maybe get a free follow! check in on the profile that will eventually run the bot- - @BlankerTest server code: import scratchattach as sa session = sa.login_by_id("[REDACTED]", username="BlankerTest") #replace with your session_id and username cloud = session.connect_cloud("1188740768") #replace with your project id client = cloud.requests(used_cloud_vars=["1", "2", "3", "4", "5", "6", "7", "8", "9"]) @client.request def follow(argument1): #called when client receives request print("user follor requested: " + argument1) usertoflw = session.connect_user(argument1) # Returns a sa.User object usertoflw.follow() return "Done." @client.request def tstr(): #called when client receives request print("server status check recieved") client.send("yep") return 200 @client.event def on_ready(): print("Request handler is running") client.start(thread=False) # thread=True is an optional argument. It makes the cloud requests handler run in a thread
hey, massive credit to TimMcCool for scratchattach, which powers this.