From 438ba052609c375703d08778bd320a70349f2d6f Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:56 +0200 Subject: [PATCH] Fixed profile image checking for indexed description instead of image. --- src/save/profileDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/save/profileDetails.js b/src/save/profileDetails.js index 72b3855..3dfe26a 100644 --- a/src/save/profileDetails.js +++ b/src/save/profileDetails.js @@ -10,7 +10,7 @@ const textToStream = require('./textToStream.js'); const save = require('./save.js'); async function saveProfileImage(user, args) { - if (!args.redownloadProfile && user.indexed.profile.description) { + if (!args.redownloadProfile && user.indexed.profile.image) { console.log('\x1b[33m%s\x1b[0m', `Ignoring already present profile image for '${user.name}' (https://reddit.com/user/${user.name})`); return user.indexed.profile.image;