Getting Discord token for rdircd
May 2, 2025 · View on GitHub
Requirements:
- Chromium-based browser (Using Edge in this example)1
Tip
Discord employs heuristics to detect suspicious activity. If you use rdircd on a remote machine, especially one located in a different country than your own, it is recommended to temporarily connect your browser through the remote machine while obtaining the Discord token. This can be done easily by configuring an SSH Tunnel+SOCKS proxy or setting up a personal VPN (ex. WireGuard).
Get the token:
-
Open an InPrivate/Incognito window.
-
Navigate to https://discord.com/app.
-
Do not login. Open Developer Tools (F12).
-
Select the Toggle device emulation button (Ctrl-Shift-M).

-
The browser changes the page to accomodate device emulation. From the list of devices (default is Responsive), select iPhone SE.

-
Reload the page (F5) so Discord knows we're now an iPhone.
-
Log in to Discord normally.
-
Once logged in succesfully, go to the Application button in the dev tools pane/window.

-
Under the Storage heading, expand Local storage and then choose https://discord.com. Select the Filter textbox on the right, and type token.

-
Select "token" in the list of keys to display the full token. Double-click on the bottom pane textbox to select the token, then copy/paste to the token value in the [auth] section of the .rdircd.ini file. Remove the leading and trailing quotation marks before saving.

- Close the window, do not log out.
Footnotes
-
Discord doesn't show the token when using Firefox+Responsive Design Mode. However, I haven't thoroughly investigated the issue. ↩