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

173
Vistas
How to fetch discord member list

I'm trying to fetch the member list of a discord server. The Discord bot is inside the server and has admin permission. I'm referring to this part of the documentation Discord Docs.

const response = await fetch(`https://discord.com/api/guilds/685509789178003502/members`, {
            headers: {
                Authorization: `Bot ${botToken}`
            }
        })
var currentUser = await response.json()

This is the response I'm getting {"message":"Missing Access","code":50001} I checked it like a million times and the bot has admin perms 100%.

about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

Enable Members Intent

Further Reading: https://gist.github.com/advaith1/e69bcc1cdd6d0087322734451f15aa2f

about 4 years ago · Santiago Gelvez 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