Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

204
Vistas
Why does the guilds.join scope exist?

I was wondering what the use of the guilds.join scope is, and can you show some examples of how to use it? I'm just curious of what people use this for.

Can I use it to join my bot support server?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

guilds.join allows you to add the user who used the URL to a guild the bot is in. Note the bot does need CREATE_INSTANT_INVITE permissions in that guild.

You will need a URL like this:

https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&response_type=token&scope=guilds.join

Now when they authorize, the URL they got redirected to, specified as the redirect URI, will have a URL parameter that has the access token. You can use this with the discord.js function GuildMemberManager#add(), which works like this:

guild.members.add(userId, { accessToken: "ACCESS_TOKEN" })
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda