mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-26 18:01:03 +00:00
1.2.4
Disable "This or That" quiz.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "microsoft-rewards-script",
|
"name": "microsoft-rewards-script",
|
||||||
"version": "1.2.2",
|
"version": "1.2.4",
|
||||||
"description": "Automatically do tasks for Microsoft Rewards but in TS!",
|
"description": "Automatically do tasks for Microsoft Rewards but in TS!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export class ThisOrThat extends Workers {
|
|||||||
async doThisOrThat(page: Page) {
|
async doThisOrThat(page: Page) {
|
||||||
this.bot.log('THIS-OR-THAT', 'Trying to complete ThisOrThat')
|
this.bot.log('THIS-OR-THAT', 'Trying to complete ThisOrThat')
|
||||||
|
|
||||||
|
return
|
||||||
try {
|
try {
|
||||||
// Check if the quiz has been started or not
|
// Check if the quiz has been started or not
|
||||||
const quizNotStarted = await page.waitForSelector('#rqStartQuiz', { visible: true, timeout: 3000 }).then(() => true).catch(() => false)
|
const quizNotStarted = await page.waitForSelector('#rqStartQuiz', { visible: true, timeout: 3000 }).then(() => true).catch(() => false)
|
||||||
|
|||||||
Reference in New Issue
Block a user