Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

qing762/discord-lootboxes-opener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This project is deprecated due to Discord closed the event & endpoint, eventually breaking this tool.


Note

Join the Discord server for issues. Thanks a lot!

Warning

Please be advised that usage of this tool is entirely at your own risk. I assumes no responsibility for any adverse consequences that may arise from its use, and users are encouraged to exercise caution and exercise their own judgment in utilizing this tool.

Discord Lootbox Opener

A simple tool that works to open Discord's new released lootboxes.

Run this tool

Before starting, you should had your Discord user token in order to run this tool. To get your Discord user token, follow the steps below:

  1. Go to Discord
  2. Open the browser's console (Option (⌥) + Command (⌘) + J (on macOS) or Shift + CTRL + J (on Windows/Linux)).
  3. Paste the following code to the console
console.log((webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken())
  1. Copy the value given (DO NOT SHARE THE VALUE TO ANYONE, THEY CAN HAVE DIRECT ACCESS TO YOUR ACCOUNT AND BYPASS 2FA IF GIVEN!)

Run Locally

To run this tool yourself, follow the steps below:

  1. Clone the project
  git clone https://github.com/qing762/discord-lootboxes-opener
  1. Go to the project directory
  cd discord-lootboxes-opener
  1. Install dependencies
  pip install -r requirements.txt
  1. Run the code
  python main.py
  1. Enter your Discord user token value in the .env file / in your pc environment variables (this is more recommend personally).
AUTH_VALUE=YOUR VALUE

You should get a 200 status code and a json of your lootbox data after this, meaning that the lootboxes had successfully opened.

Automation

To automate the lootbox opening process, follow the steps below:

  1. Fork the project.

  2. You can set the intervals between each execution at line 5 by using cron format. (This is completely optional, by default it's every 5 minutes once)

  3. Go to your forked repository, head to Settings > Secrets and Variables > Actions and click the button New Repository secret.

  4. Enter your AUTH_VALUE as the secret name and your Discord user token value as the secret value.

  5. Lastly, go the your forked repository and go the Actions tab and press the button I understand my workflows, go ahead and enable them.

You should get a 200 status code and a json of your lootbox data after the Github Actions finished the instance, meaning that the lootboxes had successfully opened.

Contributing

Contributions are always welcome!

To contribute, fork this repository and improve it. After that, press the contribute button.

Feedback / Issues

If you have any feedback or issues running the code, please join the Discord server

FOR DISCORD INC. EMPLOYEES IF YOU WISH TO REQUEST FOR TAKING DOWN THIS PROJECT

If the company wishes to discontinue or terminate this project, please do not hesitate to reach out to me. I can be reached at Discord/qing762. Thank you for your attention to this matter.

License

MIT LICENSE