Spotted something off?Report on Discord
guides
Discord Login
Authenticate with Discord inside a browser session by injecting an authorization token via the discord_login browser action.
Updated May 28, 2025
Automatically authenticate with Discord using a valid authorization token by injecting it into the browser session.
Command
"discord_login"
This action logs into Discord by injecting an authorization token into the browser session. Use it to skip the login page and access authenticated areas directly.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
token |
string | Yes | Your Discord authorization token. Required for login. |
wait |
number | No | Time in seconds to wait after logging in. Helpful for letting Discord fully load. |
when |
string | No | Run the action beforeload or afterload. Default is afterload. |
Example
bash13 lines
Notes
Using Discord tokens for automation is against Discord's Terms of Service. Only use this feature on accounts you own and control, and for ethical automation purposes.
Use case ideas:
- Access a Discord server's dashboard to scrape settings or user data.
- Automatically navigate to specific pages inside Discord after login.
- Pre-authenticate before submitting bot commands or forms.
Tips:
- Always wait a few seconds (
wait: 5) to allow the Discord client to fully render after login. - Combine with
goto,click, orexecute_jsto interact with Discord's interface post-login.