Stopped bots from running code multiple times