riking / AutoDelete

A Discord bot that automatically deletes all messages in a designated channel on a rolling basis
Apache License 2.0
326 stars 118 forks source link

Invalid OAuth2 redirect_uri #43

Closed c1sxr0bzn closed 2 years ago

c1sxr0bzn commented 2 years ago

When trying to add the bot to a server, Discord will show this message.

image

c1sxr0bzn commented 2 years ago

Project seems dead, but anyways, error can be bypassed by using: https://discordapi.com/permissions.html

MeesJ commented 1 year ago

I came across your issue because I had the same issue, and I found how to solve it. Sharing it here for future reference.

To ensure Discord's OAuth2 doesn't throw that error, you need to put your redirect URI in your application's settings, right here: