If personal anilist is rewatching, add entries

This commit is contained in:
Dragon Fire
2020-01-07 00:17:57 -05:00
parent cea80101e2
commit 0ee754de7d
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -165,6 +165,8 @@ module.exports = class AnimeCommand extends Command {
...lists.find(list => list.name === 'Watching').entries,
...lists.find(list => list.name === 'Completed').entries
];
const rewatching = lists.find(list => list.name === 'Rewatching');
if (rewatching) this.personalList.push(...rewatching.entries);
setTimeout(() => { this.personalList = null; }, 3.6e+6);
return this.personalList;
}