Better way for testing if bot is running that doesn't assume permissions