Updating OAuth2 Secret for RestoreCord

If you’re facing issues with your bot’s integration or need to reset your OAuth2 secret, this guide will assist you through the process. Resetting your OAuth2 secret is often necessary to fix connection and permission issues.


Verifying the Correct Bot on Discord Developer Portal

Begin by confirming you’re updating the correct bot:

  1. Open your web browser and navigate to Discord Developer Portal.
  2. Log in with your Discord credentials.
  3. Click on “Applications” and select your Application/Bot.
  4. Verify that the “Client ID” in Discord matches the one in RestoreCord’s settings.

Ensuring the Client ID matches confirms you’re editing the correct bot.


Resetting the OAuth2 Secret

The OAuth2 secret is essential for secure communication between your bot and Discord. To reset it:

  1. In your Application’s dashboard, click on “OAuth2” in the sidebar.
  2. Navigate to the “Client Secret” section.
  3. Click “Reset Secret” and confirm if prompted.

Note: Resetting the secret immediately revokes the old one.


Updating Secret on RestoreCord

Next, update the secret in RestoreCord:

  1. Copy the new secret from the Discord Developer Portal.
  2. Go to the RestoreCord Bot Dashboard.
  3. Access your bot’s settings.
  4. Paste the new secret and save the changes.

This step reconnects your bot with updated credentials.

Remember, it may take up to an hour for the changes to fully update. If you still encounter issues after this period, please contact us on Discord or visit the RestoreCord Community Forum for further assistance.