mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
If personal anilist is rewatching, add entries
This commit is contained in:
@@ -165,6 +165,8 @@ module.exports = class AnimeCommand extends Command {
|
|||||||
...lists.find(list => list.name === 'Watching').entries,
|
...lists.find(list => list.name === 'Watching').entries,
|
||||||
...lists.find(list => list.name === 'Completed').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);
|
setTimeout(() => { this.personalList = null; }, 3.6e+6);
|
||||||
return this.personalList;
|
return this.personalList;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "109.5.0",
|
"version": "109.5.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user