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. Bots must be manually authorized through OAuth. 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.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |