Files
javis_bot/bot/package.json
javis-bot f80a6fa0ba
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
Add remote-auth token helper (get selfbot token via a link, no devtools)
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`.
2026-06-09 20:42:24 +09:00

30 lines
778 B
JSON

{
"name": "javis-bot",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Discord-native voice/video front-end for the Jarvis brain (bun + discord.js)",
"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": {
"@discordjs/voice": "^0.18.0",
"discord.js": "^14.16.3",
"dotenv": "^16.4.5",
"libsodium-wrappers": "^0.7.15",
"opusscript": "^0.1.1",
"prism-media": "^1.3.5"
},
"optionalDependencies": {
"@dank074/discord-video-stream": "^6.0.0",
"discord.js-selfbot-v13": "^3.7.1"
},
"devDependencies": {
"@types/node": "^22.7.0",
"typescript": "^5.6.3"
}
}