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

164
Vistas
Get user's guild nickname

I have a discord bot that gets the nicknames of people, but nicknames do not seem to be exposed to me. The username is accessible however, the nickname is not:

client.on('interactionCreate', async interaction => {
var username = interaction.user.username; //accessible

I have also tried: interaction.member.displayName and looked at options under interaction.user however been unable to find something that allows me to get nicknames!

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

0

If you look at the documentation you can see that to get a nickname you just need interaction.member.nickname

Note:

  • Member may be null, for example if the interaction was not done in a guild, but in a private messages (DM)
  • .nickname can be undefined as the member may not have one
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