def make_bot():
    """
    Creates a new bot instance ready to be launched.
    """
    parser = make_parser()
    args = parser.parse_args()
    settings = {
        'server': args.server,
        'port': args.port,
        'ssl': args.ssl,
        'nick': args.nick,
        'realname': args.name,
        'channels': args.channels or [],
        'loglevel': args.log,
    }
    return IRC(settings)
Creates a new bot instance ready to be launched.