修复点赞任务

This commit is contained in:
Hex
2023-04-13 21:32:01 +08:00
parent fd10abb51b
commit e4eececf02
2 changed files with 66 additions and 33 deletions

4
bot.js
View File

@@ -191,6 +191,10 @@ class SmzdmBot {
Cookie: this.androidCookie
};
}
getOneByRandom(listing) {
return listing[Math.floor(Math.random() * listing.length)];
}
}
module.exports = {