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.
A simple tool that works to open Discord's new released lootboxes.
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:
- Go to Discord
- Open the browser's console (Option (⌥) + Command (⌘) + J (on macOS) or Shift + CTRL + J (on Windows/Linux)).
- 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())
- Copy the value given (DO NOT SHARE THE VALUE TO ANYONE, THEY CAN HAVE DIRECT ACCESS TO YOUR ACCOUNT AND BYPASS 2FA IF GIVEN!)
To run this tool yourself, follow the steps below:
- Clone the project
git clone https://github.com/qing762/discord-lootboxes-opener
- Go to the project directory
cd discord-lootboxes-opener
- Install dependencies
pip install -r requirements.txt
- Run the code
python main.py
- 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.
To automate the lootbox opening process, follow the steps below:
-
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)
-
Go to your forked repository, head to Settings > Secrets and Variables > Actions and click the button
New Repository secret
. -
Enter your
AUTH_VALUE
as the secret name and your Discord user token value as the secret value. -
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.
Contributions are always welcome!
To contribute, fork this repository and improve it. After that, press the contribute button.
If you have any feedback or issues running the code, please join the Discord server
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.