#Scope guilds.join in discord.js
6 messages · Page 1 of 1 (latest)
GuildMemberManager#add()
Adds a user to the guild using OAuth2. <info>This method requires the PermissionFlagsBits.CreateInstantInvite permission.
using oauth, there should be a basic example in the guide
OAuth2: Getting started with OAuth2