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:

  1. Open an InPrivate/Incognito window.

  2. Navigate to https://discord.com/app.

  3. Do not login. Open Developer Tools (F12).

  4. Select the Toggle device emulation button (Ctrl-Shift-M).

    Selecting toggle device emulation button

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

    Selecting iPhone SE from the list of devices

  6. Reload the page (F5) so Discord knows we're now an iPhone.

  7. Log in to Discord normally.

  8. Once logged in succesfully, go to the Application button in the dev tools pane/window.

    Selecting Application button

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

    Typing token into the Filter textbox

  10. 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.

Highlighting the token from the textbox

  1. Close the window, do not log out.

Footnotes

  1. Discord doesn't show the token when using Firefox+Responsive Design Mode. However, I haven't thoroughly investigated the issue. ↩