static void ensureBotIsRunning(S name) { if (!hasBot(name)) fail("Please start bot " + quote(name)); }