I am writing an IRC bot and my intention is to have "!reboot" reboot the bot. I have already got it to part from a channel and break the running loop, but I cannot get it to re-run the file.
It needs to start a new process and load up a new version of the file, so that any new commands etc. and configuration changes can be loaded.