chore: update copy token snippet
This commit is contained in:
20
README.md
20
README.md
@@ -73,26 +73,28 @@ client.login('token');
|
||||
|
||||
## Get Token ?
|
||||
|
||||
- Based: [findByProps](https://discord.com/channels/603970300668805120/1085682686607249478/1085682686607249478)
|
||||
|
||||
<strong>Run code (Discord Console - [Ctrl + Shift + I])</strong>
|
||||
|
||||
```js
|
||||
window.webpackChunkdiscord_app.push([
|
||||
[Math.random()],
|
||||
[Symbol()],
|
||||
{},
|
||||
req => {
|
||||
if (!req.c) return;
|
||||
for (const m of Object.keys(req.c)
|
||||
.map(x => req.c[x].exports)
|
||||
.filter(x => x)) {
|
||||
if (m.default && m.default.getToken !== undefined) {
|
||||
return copy(m.default.getToken());
|
||||
}
|
||||
if (m.getToken !== undefined) {
|
||||
return copy(m.getToken());
|
||||
for (let m of Object.values(req.c)) {
|
||||
try {
|
||||
if (!m.exports || m.exports === window) continue;
|
||||
if (m.exports?.getToken) return copy(m.exports.getToken());
|
||||
for (let ex in m.exports) {
|
||||
if (m.exports?.[ex]?.getToken && m.exports[ex][Symbol.toStringTag] !== 'IntlMessagesProxy') return copy(m.exports[ex].getToken());
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
||||
window.webpackChunkdiscord_app.pop();
|
||||
console.log('%cWorked!', 'font-size: 50px');
|
||||
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');
|
||||
|
||||
Reference in New Issue
Block a user