Search code examples
discordpermissionsbots

Discord won't allow me to select the type of uri or generate URL


I have created a discord bot and I'm configuring the permissions so that I can generate an invite link.

When I selected the bot option it would not give me any options to choose my redirect url and would not allow me to enter anything into my redirect URI filed even when I have administrator privileges set

and given the bot all the available scopes including the bot option.

As you can see there is no drop down option to select from in the Select Redirect URL

enter image description here

I have given my bot all the available scopes as well as access to all the privileged intents. I have also given it administrator permissions.

It's permission's integer is 8 and I have made sure that it is a public bot.

I have also tried out different combinations of scopes


Solution

  • I've done a little bit of experimentation and it seems that you need to set your redirect URIs in the 'General' tab of the OAuth2 section, like this:

    enter image description here

    It will then appear as an option in the URL Generator tab like this:

    enter image description here

    I hope this solves your issue!