
If you don't mind doing it like other bots, you can get the bot to provide the join link like other bots with a command like !invite.Įdit: If you want more information about using guilds. Since the bot is not in the server it wants to join, you will need to do this method through the rest client. If you want a bot to join the server itself, it could use the invite link to get the server and DM the server owner (that can be found using the property) a OAuth link for the bot.

For example, search engines and anti-virus companies use good bots to crawl. Bots must be manually authorized through OAuth. Bots are merely software scripts living on computers - many everyday internet tasks are performed by bots all the time.

This means the link with the scope guilds.join will be on a website that you own and once the user either grants and denies this, the grant page will redirect the client back to the website.Īlso, your bot cannot actually self-join servers simply because of how it was made.

I think you are mistaking the guilds.join for the bot because it is actually the scope for letting your application join servers for the client (you can see this by going on the link &scope=guilds.join and replace with the application client ID). I'm assuming you are trying to use the guilds.join scope and it tells you to give a redirect URI.
