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

147
Vistas
Discord.js bot doesn't have permissions but it does

This is my code: await message.member.timeout(spamTimeout, 'Recieved a timeout for exceeding max message limit.'); It gives me an error saying:

DiscordAPIError: Missing Permissions

But the bot is the owner of the guild so why would it not have permissions?

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

0

I fixed this myself, the problem was the member I was trying to timeout had ADMINISTRATOR, but you can't be timed out if you have ADMINISTRATOR.

Also I would just like to tell everyone that a bot can be the owner of a guild. Check guild.create();

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