community.profileSettings({ profile: 3, inventory: 3, inventoryGifts: 1, gameDetails: 3, playtime: false, comments: 1, friendsList: 1 }, (err) => {
if (err != null) {
throw `Failed to edit privacy - ${err.message}.`;
}
Logger.def.log(Logger.clr.primary('Changed privacy settings'), username);
});
This method has been a hit or miss for me, it works sometimes, and sometimes I get a error stating "The specified profile could not be found".
What could be causing this?
Thanks.