Add remote-auth token helper (get selfbot token via a link, no devtools)
Some checks failed
Release / semantic-release (push) Successful in 31s
tests / Unit tests (Linux, Python 3.11) (push) Successful in 9m54s
Release / build-linux (push) Failing after 7m14s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled
Some checks failed
Release / semantic-release (push) Successful in 31s
tests / Unit tests (Linux, Python 3.11) (push) Successful in 9m54s
Release / build-linux (push) Failing after 7m14s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled
bot/src/get-token.ts uses discord.js-selfbot-v13 DiscordAuthWebsocket: it prints the Discord Remote Auth URL (https://discord.com/ra/<code> — the same thing a login QR encodes). Open it on a phone with the Discord app, approve the "New login" prompt, and the user token is written to .env as DISCORD_SELFBOT_TOKEN. Works from a single mobile device (no second screen, no password, no browser devtools). `bun run token`.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"scripts": {
|
||||
"start": "bun run src/index.ts",
|
||||
"register": "bun run src/register-commands.ts",
|
||||
"token": "bun run src/get-token.ts",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user