App Logo
discord.com

Discord login

Opens the Discord web app in the browser and reports whether the account is signed in, together with the username and display name it is signed in as. Run this first: the other Discord scripts need the web app open on a signed-in session.

Input

None

Output

url required
state required

Which surface the browser landed on. "app" is the signed-in web app. "login" is Discord's login page. "anonymous" is the marketing homepage still offering guest onboarding, which a signed-out browser reaches without ever being redirected to /login. Both of the latter two mean loggedIn is false.

loggedIn required

True only when the browser landed on the signed-in web app. A signed-out browser is a normal result reported as false, not an error.

username optional

Null unless loggedIn is true.

displayName optional

Null unless loggedIn is true.

FAQ

Opens the Discord web app in the browser and reports whether the account is signed in, together with the username and display name it is signed in as. Run this first: the other Discord scripts need the web app open on a signed-in session.
Nothing. It takes no input.
It returns url, state, loggedIn, username, displayName.
Yes. It acts as you on discord.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the discord.com cookies saved by the Reduck extension.
It only reads. It looks things up on discord.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/discord.com/login, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/discord.com/login
It is part of Reduck's official curated catalogue.

Start building not clicking