Skip to content

Obtaining Token and Channel IDs

Alexey Golub edited this page Apr 18, 2019 · 3 revisions

How to get User Token

  1. Press Ctrl+Shift+I (⌘⌥I on Mac) on Discord to show developer tools
  2. Navigate to the Application tab
  3. Press Ctrl+R (⌘R) to trigger reload
  4. Select "Local Storage" > "https://discordapp.com" on the left
  5. Find "token" and copy the value


How to get Bot Token

  1. Go to the Discord Developer Portal Applications Page
  2. Open your Application
  3. Navigate to the Bot section on the left
  4. Under Token click Copy


How to get Guild ID or Guild Channel ID

  1. Open Discord App Settings
  2. Go to Appearance section
  3. Enable Developer Mode
  4. Right click on the desired guild or channel and click Copy ID

How to get DM Channel ID

  1. Open the desired DM channel
  2. Press Ctrl+Shift+I (⌘⌥I on Mac) on Discord to show developer tools
  3. Navigate to the Console tab
  4. Type window.location.href and press Enter
  5. Copy the first long sequence of numbers
You can’t perform that action at this time.