#Cors error when adding user to guild
6 messages · Page 1 of 1 (latest)
you could, but requires oauth
GuildMemberManager#add()
Adds a user to the guild using OAuth2. <info>This method requires the PermissionFlagsBits.CreateInstantInvite permission.
Yeah this isn't a djs question. CORS means Discord isn't allowing the request from your domain, but that shouldn't be an issue if you're doing it properly from the server-side