This bot automates the process of clearing tasks in the Side Quests game. It fetches the tasks assigned to the user and clears them automatically.
-
Clone the repository:
git clone https://github.com/Winnode/sidequest.git
-
Install dependencies:
cd sidequest npm install
-
Obtain your Bearer token:
- Open your browser's developer tools (usually by pressing F12 or right-clicking and selecting "Inspect").
- Go to the "Network" tab.
- Navigate to the Side Quests game and look for a request with the authorization header.
- Copy the value after the word "Bearer".
-
Set up environment variables:
- Create a
.env
file in the root directory of the project. - Add your Bearer token to the
.env
file:TOKEN=your_bearer_token_here
- Create a
-
Run the bot:
npm start
To obtain the Bearer token required for authentication, follow these steps:
-
Open the Side Quests game in your browser.
-
Open the developer tools (usually by pressing F12 or right-clicking and selecting "Inspect").
-
Go to the "Network" tab.
-
Perform any action in the game that requires authentication (e.g., loading your profile).
-
Look for a request in the Network tab that has an "Authorization" header.
-
Copy the value after the word "Bearer" in the Authorization header.
-
Paste this value as your Bearer token in the
.env
file multiple Tokens (",") tokens sparator.TOKENS=12345678-abcdefg,87654321-hgfedcba,11111111-aaaaaaaa