getLoop()->addSignal(SIGINT, function() use ($bot) { $bot->stop(); }); $bot->run(); return 0; } } ?>