Fixed profile image checking for indexed description instead of image.
This commit is contained in:
parent
1b1323dc3d
commit
cb6fd0c7f6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue