http://qs1969.pair.com?node_id=895709


in reply to How do I shut down a Bot::BasicBot?

As of Bot::BasicBot 0.82, you can shut it down properly with $bot->shutdown($quit_message). That will take care of sending a QUIT message to the IRC server, waiting until the server disconnects you, as well as killing any subprocesses you may have started with the forkit() method.